2022-05-28 19:21:47 +08:00
|
|
|
package emu.grasscutter.data.excels;
|
2022-05-23 13:23:09 +08:00
|
|
|
|
|
|
|
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;
|
2022-05-23 13:23:09 +08:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getId() {
|
|
|
|
return Id;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getType() {
|
2022-05-28 19:21:47 +08:00
|
|
|
return type;
|
2022-05-23 13:23:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
public int getDescribeId() {
|
2022-05-28 19:21:47 +08:00
|
|
|
return describeId;
|
2022-05-23 13:23:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
public int getSortOrder() {
|
2022-05-28 19:21:47 +08:00
|
|
|
return sortOrder;
|
2022-05-23 13:23:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
public CodexAnimalUnlockCondition getUnlockCondition() {
|
2022-05-28 19:21:47 +08:00
|
|
|
return OCCLHPBCDGL;
|
2022-05-23 13:23:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
public enum CodexAnimalUnlockCondition {
|
|
|
|
CODEX_COUNT_TYPE_KILL,
|
|
|
|
CODEX_COUNT_TYPE_CAPTURE
|
|
|
|
}
|
|
|
|
}
|