mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 11:24:46 +00:00
38 lines
1.3 KiB
Java
38 lines
1.3 KiB
Java
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
package cfg;
|
|
|
|
import luban.*;
|
|
import com.google.gson.JsonElement;
|
|
|
|
|
|
public final class TbGRoleCUp {
|
|
private final java.util.HashMap<Integer, cfg.TB.TbGRoleCUp> _dataMap;
|
|
private final java.util.ArrayList<cfg.TB.TbGRoleCUp> _dataList;
|
|
|
|
public TbGRoleCUp(JsonElement _buf) {
|
|
_dataMap = new java.util.HashMap<Integer, cfg.TB.TbGRoleCUp>();
|
|
_dataList = new java.util.ArrayList<cfg.TB.TbGRoleCUp>();
|
|
|
|
for (com.google.gson.JsonElement _e_ : _buf.getAsJsonArray()) {
|
|
cfg.TB.TbGRoleCUp _v;
|
|
_v = cfg.TB.TbGRoleCUp.deserialize(_e_.getAsJsonObject());
|
|
_dataList.add(_v);
|
|
_dataMap.put(_v.grade, _v);
|
|
}
|
|
}
|
|
|
|
public java.util.HashMap<Integer, cfg.TB.TbGRoleCUp> getDataMap() { return _dataMap; }
|
|
public java.util.ArrayList<cfg.TB.TbGRoleCUp> getDataList() { return _dataList; }
|
|
|
|
public cfg.TB.TbGRoleCUp get(int key) { return _dataMap.get(key); }
|
|
|
|
}
|