ItemParamData.java 575 Bytes
Newer Older
Melledy's avatar
Melledy committed
1
2
package emu.grasscutter.data.common;

Melledy's avatar
Melledy committed
3
4
import com.google.gson.annotations.SerializedName;

Melledy's avatar
Melledy committed
5
public class ItemParamData {
Melledy's avatar
Melledy committed
6
	@SerializedName(value="Id", alternate={"ItemId"})
Melledy's avatar
Melledy committed
7
	private int Id;
Melledy's avatar
Melledy committed
8
9
	
	@SerializedName(value="Count", alternate={"ItemCount"})
Melledy's avatar
Melledy committed
10
    private int Count;
Kengxxiao's avatar
Kengxxiao committed
11
12
13
14
15
16

    public ItemParamData() {}
	public ItemParamData(int id, int count) {
    	this.Id = id;
    	this.Count = count;
	}
Melledy's avatar
Melledy committed
17
18
19
20
21
    
	public int getId() {
		return Id;
	}
	
Melledy's avatar
Melledy committed
22
23
24
25
	public int getItemId() {
		return Id;
	}
	
Melledy's avatar
Melledy committed
26
27
28
	public int getCount() {
		return Count;
	}
Melledy's avatar
Melledy committed
29
30
31
32
	
	public int getItemCount() {
		return Count;
	}
Melledy's avatar
Melledy committed
33
}