mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-13 04:45:02 +01:00
25 lines
562 B
Java
25 lines
562 B
Java
package emu.nebula.data.resources;
|
|
|
|
import emu.nebula.data.BaseDef;
|
|
import emu.nebula.data.GameData;
|
|
import emu.nebula.data.ResourceType;
|
|
import lombok.Getter;
|
|
|
|
@Getter
|
|
@ResourceType(name = "CharGem.json")
|
|
public class CharGemDef extends BaseDef {
|
|
private int Id;
|
|
private int GenerateCostTid;
|
|
private int RefreshCostTid;
|
|
private int Type;
|
|
|
|
@Override
|
|
public int getId() {
|
|
return Id;
|
|
}
|
|
|
|
public CharGemSlotControlDef getControlData() {
|
|
return GameData.getCharGemSlotControlDataTable().get(this.Type);
|
|
}
|
|
}
|