mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-26 10:16:14 +00:00
提交开宝箱
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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.TB;
|
||||
|
||||
import luban.*;
|
||||
import com.google.gson.JsonElement;
|
||||
import com.google.gson.JsonObject;
|
||||
|
||||
|
||||
public final class TbGAttributeFC extends AbstractBean {
|
||||
public TbGAttributeFC(JsonObject _buf) {
|
||||
id = _buf.get("id").getAsInt();
|
||||
value = _buf.get("value").getAsInt();
|
||||
}
|
||||
|
||||
public static TbGAttributeFC deserialize(JsonObject _buf) {
|
||||
return new cfg.TB.TbGAttributeFC(_buf);
|
||||
}
|
||||
|
||||
/**
|
||||
* 对应属性Id
|
||||
*/
|
||||
public final int id;
|
||||
/**
|
||||
* 战力
|
||||
*/
|
||||
public final int value;
|
||||
|
||||
public static final int __ID__ = -1561736544;
|
||||
|
||||
@Override
|
||||
public int getTypeId() { return __ID__; }
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "{ "
|
||||
+ "(format_field_name __code_style field.name):" + id + ","
|
||||
+ "(format_field_name __code_style field.name):" + value + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
@@ -29,7 +29,7 @@ public final class TbGRoleEquipLevel extends AbstractBean {
|
||||
*/
|
||||
public final int id;
|
||||
/**
|
||||
* 下一级所需经验
|
||||
* 所需经验
|
||||
*/
|
||||
public final int exp;
|
||||
|
||||
|
@@ -43,6 +43,8 @@ public final class Tables
|
||||
public cfg.TbSServerInfo getTbSServerInfo() { return _tbsserverinfo; }
|
||||
private final cfg.TbGAttribute _tbgattribute;
|
||||
public cfg.TbGAttribute getTbGAttribute() { return _tbgattribute; }
|
||||
private final cfg.TbGAttributeFC _tbgattributefc;
|
||||
public cfg.TbGAttributeFC getTbGAttributeFC() { return _tbgattributefc; }
|
||||
private final cfg.TbGRoleBaseAttribute _tbgrolebaseattribute;
|
||||
public cfg.TbGRoleBaseAttribute getTbGRoleBaseAttribute() { return _tbgrolebaseattribute; }
|
||||
private final cfg.TbGOnHookMaps _tbgonhookmaps;
|
||||
@@ -75,6 +77,7 @@ public final class Tables
|
||||
_tbgroleupgrow = new cfg.TbGRoleUpGrow(loader.load("tbgroleupgrow"));
|
||||
_tbsserverinfo = new cfg.TbSServerInfo(loader.load("tbsserverinfo"));
|
||||
_tbgattribute = new cfg.TbGAttribute(loader.load("tbgattribute"));
|
||||
_tbgattributefc = new cfg.TbGAttributeFC(loader.load("tbgattributefc"));
|
||||
_tbgrolebaseattribute = new cfg.TbGRoleBaseAttribute(loader.load("tbgrolebaseattribute"));
|
||||
_tbgonhookmaps = new cfg.TbGOnHookMaps(loader.load("tbgonhookmaps"));
|
||||
_tbgonhookmap120001 = new cfg.TbGOnHookMap120001(loader.load("tbgonhookmap120001"));
|
||||
|
37
JisolGameServer/Main/src/main/java/cfg/TbGAttributeFC.java
Normal file
37
JisolGameServer/Main/src/main/java/cfg/TbGAttributeFC.java
Normal file
@@ -0,0 +1,37 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 TbGAttributeFC {
|
||||
private final java.util.HashMap<Integer, cfg.TB.TbGAttributeFC> _dataMap;
|
||||
private final java.util.ArrayList<cfg.TB.TbGAttributeFC> _dataList;
|
||||
|
||||
public TbGAttributeFC(JsonElement _buf) {
|
||||
_dataMap = new java.util.HashMap<Integer, cfg.TB.TbGAttributeFC>();
|
||||
_dataList = new java.util.ArrayList<cfg.TB.TbGAttributeFC>();
|
||||
|
||||
for (com.google.gson.JsonElement _e_ : _buf.getAsJsonArray()) {
|
||||
cfg.TB.TbGAttributeFC _v;
|
||||
_v = cfg.TB.TbGAttributeFC.deserialize(_e_.getAsJsonObject());
|
||||
_dataList.add(_v);
|
||||
_dataMap.put(_v.id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public java.util.HashMap<Integer, cfg.TB.TbGAttributeFC> getDataMap() { return _dataMap; }
|
||||
public java.util.ArrayList<cfg.TB.TbGAttributeFC> getDataList() { return _dataList; }
|
||||
|
||||
public cfg.TB.TbGAttributeFC get(int key) { return _dataMap.get(key); }
|
||||
|
||||
}
|
@@ -0,0 +1,14 @@
|
||||
[
|
||||
{
|
||||
"id": 110001,
|
||||
"value": 10
|
||||
},
|
||||
{
|
||||
"id": 110002,
|
||||
"value": 5
|
||||
},
|
||||
{
|
||||
"id": 110003,
|
||||
"value": 1
|
||||
}
|
||||
]
|
Reference in New Issue
Block a user