NpcData.java 1.19 KB
Newer Older
Melledy's avatar
Melledy committed
1
package emu.grasscutter.data.excels;
Melledy's avatar
Melledy committed
2

3
import emu.grasscutter.data.GameResource;
Melledy's avatar
Melledy committed
4
5
6
import emu.grasscutter.data.ResourceType;

@ResourceType(name = "NpcExcelConfigData.json")
7
public class NpcData extends GameResource {
Melledy's avatar
Melledy committed
8
	private int id;
Melledy's avatar
Melledy committed
9
	
Melledy's avatar
Melledy committed
10
11
12
13
14
15
16
17
18
19
20
21
	private String jsonName;
    private String alias;
    private String scriptDataPath;
    private String luaDataPath;

    private boolean isInteractive;
    private boolean hasMove;
    private String dyePart;
    private String billboardIcon;

    private long nameTextMapHash;
    private int campID;
Melledy's avatar
Melledy committed
22
23
24
	    
	@Override
	public int getId() {
Melledy's avatar
Melledy committed
25
		return this.id;
Melledy's avatar
Melledy committed
26
27
28
	}

	public String getJsonName() {
Melledy's avatar
Melledy committed
29
		return jsonName;
Melledy's avatar
Melledy committed
30
31
32
	}

	public String getAlias() {
Melledy's avatar
Melledy committed
33
		return alias;
Melledy's avatar
Melledy committed
34
35
36
	}

	public String getScriptDataPath() {
Melledy's avatar
Melledy committed
37
		return scriptDataPath;
Melledy's avatar
Melledy committed
38
39
40
	}

	public String getLuaDataPath() {
Melledy's avatar
Melledy committed
41
		return luaDataPath;
Melledy's avatar
Melledy committed
42
43
44
	}

	public boolean isIsInteractive() {
Melledy's avatar
Melledy committed
45
		return isInteractive;
Melledy's avatar
Melledy committed
46
47
48
	}

	public boolean isHasMove() {
Melledy's avatar
Melledy committed
49
		return hasMove;
Melledy's avatar
Melledy committed
50
51
52
	}

	public String getDyePart() {
Melledy's avatar
Melledy committed
53
		return dyePart;
Melledy's avatar
Melledy committed
54
55
56
	}

	public String getBillboardIcon() {
Melledy's avatar
Melledy committed
57
		return billboardIcon;
Melledy's avatar
Melledy committed
58
59
60
	}

	public long getNameTextMapHash() {
Melledy's avatar
Melledy committed
61
		return nameTextMapHash;
Melledy's avatar
Melledy committed
62
63
64
	}

	public int getCampID() {
Melledy's avatar
Melledy committed
65
		return campID;
Melledy's avatar
Melledy committed
66
67
68
69
70
71
72
	}

	@Override
	public void onLoad() {

	}
}