Files
JisolGame/JisolGameServer/Main/src/main/java/cfg/TbGRole.java
DESKTOP-5RP3AKU\Jisol e24dded990 重置配置表
2023-11-06 02:25:02 +08:00

38 lines
1.2 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 TbGRole {
private final java.util.HashMap<Integer, cfg.TB.TbGRole> _dataMap;
private final java.util.ArrayList<cfg.TB.TbGRole> _dataList;
public TbGRole(JsonElement _buf) {
_dataMap = new java.util.HashMap<Integer, cfg.TB.TbGRole>();
_dataList = new java.util.ArrayList<cfg.TB.TbGRole>();
for (com.google.gson.JsonElement _e_ : _buf.getAsJsonArray()) {
cfg.TB.TbGRole _v;
_v = cfg.TB.TbGRole.deserialize(_e_.getAsJsonObject());
_dataList.add(_v);
_dataMap.put(_v.id, _v);
}
}
public java.util.HashMap<Integer, cfg.TB.TbGRole> getDataMap() { return _dataMap; }
public java.util.ArrayList<cfg.TB.TbGRole> getDataList() { return _dataList; }
public cfg.TB.TbGRole get(int key) { return _dataMap.get(key); }
}