Grasscutter/src/main/java/emu/grasscutter/data/excels/CodexAnimalData.java

40 lines
854 B
Java
Raw Normal View History

2022-05-28 19:21:47 +08:00
package emu.grasscutter.data.excels;
import emu.grasscutter.data.GameResource;
import emu.grasscutter.data.ResourceType;
@ResourceType(name = {"AnimalCodexExcelConfigData.json"})
public class CodexAnimalData extends GameResource {
private int Id;
2022-05-28 19:21:47 +08:00
private String type;
private int describeId;
private int sortOrder;
private CodexAnimalUnlockCondition OCCLHPBCDGL;
@Override
public int getId() {
return Id;
}
public String getType() {
2022-05-28 19:21:47 +08:00
return type;
}
public int getDescribeId() {
2022-05-28 19:21:47 +08:00
return describeId;
}
public int getSortOrder() {
2022-05-28 19:21:47 +08:00
return sortOrder;
}
public CodexAnimalUnlockCondition getUnlockCondition() {
2022-05-28 19:21:47 +08:00
return OCCLHPBCDGL;
}
public enum CodexAnimalUnlockCondition {
CODEX_COUNT_TYPE_KILL,
CODEX_COUNT_TYPE_CAPTURE
}
}