mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-05-06 20:13:46 +08:00
34 lines
575 B
Java
34 lines
575 B
Java
package emu.grasscutter.data.common;
|
|
|
|
import com.google.gson.annotations.SerializedName;
|
|
|
|
public class ItemParamData {
|
|
@SerializedName(value="id", alternate={"itemId"})
|
|
private int id;
|
|
|
|
@SerializedName(value="count", alternate={"itemCount"})
|
|
private int count;
|
|
|
|
public ItemParamData() {}
|
|
public ItemParamData(int id, int count) {
|
|
this.id = id;
|
|
this.count = count;
|
|
}
|
|
|
|
public int getId() {
|
|
return id;
|
|
}
|
|
|
|
public int getItemId() {
|
|
return id;
|
|
}
|
|
|
|
public int getCount() {
|
|
return count;
|
|
}
|
|
|
|
public int getItemCount() {
|
|
return count;
|
|
}
|
|
}
|