AvatarCostumeData.java 626 Bytes
Newer Older
Melledy's avatar
Melledy committed
1
2
package emu.grasscutter.data.def;

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

@ResourceType(name = "AvatarCostumeExcelConfigData.json")
8
public class AvatarCostumeData extends GameResource {
Melledy's avatar
Melledy committed
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
	private int CostumeId;
	private int ItemId;
    private int AvatarId;
	    
	@Override
	public int getId() {
		return this.CostumeId;
	}
	
	public int getItemId() {
		return this.ItemId;
	}

	public int getAvatarId() {
		return AvatarId;
	}
	
	@Override
	public void onLoad() {
28
		GameData.getAvatarCostumeDataItemIdMap().put(this.getItemId(), this);
Melledy's avatar
Melledy committed
29
30
	}
}