blob: e73a911964a197113399384ad3a6f124bd42732f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package kr.syeyoung.dungeonsguide.dungeon.events;
import kr.syeyoung.dungeonsguide.features.FeatureRegistry;
import lombok.Data;
import java.io.Serializable;
@Data
public class DungeonEvent implements Serializable {
private long UTCTime = System.currentTimeMillis();
private long realTimeElapsed;
private long skyblockTimeElapsed;
private String eventName;
private DungeonEventData data;
public DungeonEvent(DungeonEventData eventData){
this.data = eventData;
this.realTimeElapsed = FeatureRegistry.DUNGEON_REALTIME.getTimeElapsed();
this.skyblockTimeElapsed = FeatureRegistry.DUNGEON_SBTIME.getTimeElapsed();
this.eventName = eventData.getEventName();
}
}
|