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
7
	@SerializedName(value="Id", alternate={"itemId"})
	private int id;
Melledy's avatar
Melledy committed
8
	
Melledy's avatar
Melledy committed
9
10
	@SerializedName(value="Count", alternate={"itemCount"})
    private int count;
Kengxxiao's avatar
Kengxxiao committed
11
12
13

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