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

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

@ResourceType(name = "ReliquaryMainPropExcelConfigData.json")
8
public class ReliquaryMainPropData 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
28
29
30
31
32
33
34
35
36
37
	private int Id;
	
	private int PropDepotId;
	private String PropType;
	private String AffixName;
	private int Weight;
	
	private FightProperty fightProp;
	
	@Override
	public int getId() {
		return Id;
	}
	public int getPropDepotId() {
		return PropDepotId;
	}
	public int getWeight() {
		return Weight;
	}

	public FightProperty getFightProp() {
		return fightProp;
	}

	@Override
	public void onLoad() {
		this.fightProp = FightProperty.getPropByName(this.PropType);
	}
}