mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-16 06:15:20 +01:00
Basic implementation of character emblems
This commit is contained in:
24
src/main/java/emu/nebula/data/resources/CharGemDef.java
Normal file
24
src/main/java/emu/nebula/data/resources/CharGemDef.java
Normal file
@@ -0,0 +1,24 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user