AvatarCostumeData.java 638 Bytes
Newer Older
Melledy's avatar
Melledy committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package emu.grasscutter.data.def;

import emu.grasscutter.data.GenshinData;
import emu.grasscutter.data.GenshinResource;
import emu.grasscutter.data.ResourceType;

@ResourceType(name = "AvatarCostumeExcelConfigData.json")
public class AvatarCostumeData extends GenshinResource {
	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() {
		GenshinData.getAvatarCostumeDataItemIdMap().put(this.getItemId(), this);
	}
}