Update trace hunt season based on time

This commit is contained in:
Melledy committed 2026-10-19 01:03:38 -07:00
1 parent 465ccd769e
commit 2424496472
5 files changed
+93

No files matched your search

@@ -2,6 +2,7 @@ package emu.nebula.data.resources;
import emu.nebula.data.BaseDef;
import emu.nebula.data.ResourceType;
import emu.nebula.util.Utils;
import lombok.Getter;
@Getter
@@ -10,8 +11,20 @@ public class TraceHuntControlDef extends BaseDef {
private int Id;
private int[] BossList;
private String StartTime;
private String EndTime;
private transient long startDate;
private transient long endDate;
@Override
public int getId() {
return Id;
}
@Override
public void onLoad() {
this.startDate = Utils.dateToMilliseconds(this.StartTime) / 1000;
this.endDate = Utils.dateToMilliseconds(this.EndTime) / 1000;
}
}