mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-02-07 10:36:41 +01:00
Rename excel classes
This commit is contained in:
@@ -3,31 +3,31 @@ package emu.grasscutter.data.common;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
public class ItemParamData {
|
||||
@SerializedName(value="Id", alternate={"ItemId"})
|
||||
private int Id;
|
||||
@SerializedName(value="Id", alternate={"itemId"})
|
||||
private int id;
|
||||
|
||||
@SerializedName(value="Count", alternate={"ItemCount"})
|
||||
private int Count;
|
||||
@SerializedName(value="Count", alternate={"itemCount"})
|
||||
private int count;
|
||||
|
||||
public ItemParamData() {}
|
||||
public ItemParamData(int id, int count) {
|
||||
this.Id = id;
|
||||
this.Count = count;
|
||||
this.id = id;
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return Id;
|
||||
return id;
|
||||
}
|
||||
|
||||
public int getItemId() {
|
||||
return Id;
|
||||
return id;
|
||||
}
|
||||
|
||||
public int getCount() {
|
||||
return Count;
|
||||
return count;
|
||||
}
|
||||
|
||||
public int getItemCount() {
|
||||
return Count;
|
||||
return count;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user