ReliquaryAffixData.java 964 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package emu.grasscutter.data.def;

import emu.grasscutter.data.GenshinResource;
import emu.grasscutter.data.ResourceType;
import emu.grasscutter.game.props.FightProperty;

@ResourceType(name = "ReliquaryAffixExcelConfigData.json")
public class ReliquaryAffixData extends GenshinResource {
	private int Id;
	
	private int DepotId;
	private int GroupId;
	private String PropType;
	private float PropValue;
	private int Weight;
	private int UpgradeWeight;
	
	private FightProperty fightProp;
	
	@Override
	public int getId() {
		return Id;
	}
	public int getDepotId() {
		return DepotId;
	}
	public int getGroupId() {
		return GroupId;
	}
	public float getPropValue() {
		return PropValue;
	}
	public int getWeight() {
		return Weight;
	}
	public int getUpgradeWeight() {
		return UpgradeWeight;
	}
	
	public FightProperty getFightProp() {
		return fightProp;
	}

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