blob: cb2b3f57e777b0fa7875df11deeeac0822404ffe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package kr.syeyoung.dungeonsguide.dungeon.events;
import kr.syeyoung.dungeonsguide.features.FeatureRegistry;
import lombok.Data;
@Data
public class DungeonEvent {
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();
}
}
|