CodexAnimalData.java 854 Bytes
Newer Older
Melledy's avatar
Melledy committed
1
package emu.grasscutter.data.excels;
2
3
4
5
6
7
8

import emu.grasscutter.data.GameResource;
import emu.grasscutter.data.ResourceType;

@ResourceType(name = {"AnimalCodexExcelConfigData.json"})
public class CodexAnimalData extends GameResource {
    private int Id;
Melledy's avatar
Melledy committed
9
10
11
12
    private String type;
    private int describeId;
    private int sortOrder;
    private CodexAnimalUnlockCondition OCCLHPBCDGL;
13
14
15
16
17
18
19

    @Override
    public int getId() {
        return Id;
    }

    public String getType() {
Melledy's avatar
Melledy committed
20
        return type;
21
22
23
    }

    public int getDescribeId() {
Melledy's avatar
Melledy committed
24
        return describeId;
25
26
27
    }

    public int getSortOrder() {
Melledy's avatar
Melledy committed
28
        return sortOrder;
29
30
31
    }

    public CodexAnimalUnlockCondition getUnlockCondition() {
Melledy's avatar
Melledy committed
32
        return OCCLHPBCDGL;
33
34
35
36
37
38
39
    }

    public enum CodexAnimalUnlockCondition {
        CODEX_COUNT_TYPE_KILL,
        CODEX_COUNT_TYPE_CAPTURE
    }
}