mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-26 18:26:23 +00:00
重置配置表
This commit is contained in:
@@ -1,61 +0,0 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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.Battle.Role;
|
||||
|
||||
import luban.*;
|
||||
import com.google.gson.JsonElement;
|
||||
import com.google.gson.JsonObject;
|
||||
|
||||
|
||||
public final class GRole extends AbstractBean {
|
||||
public GRole(JsonObject _buf) {
|
||||
id = _buf.get("id").getAsInt();
|
||||
name = _buf.get("name").getAsString();
|
||||
price = _buf.get("price").getAsInt();
|
||||
{ if (_buf.has("expire_time") && !_buf.get("expire_time").isJsonNull()) { expireTime = _buf.get("expire_time").getAsLong(); } else { expireTime = null; } }
|
||||
}
|
||||
|
||||
public static GRole deserialize(JsonObject _buf) {
|
||||
return new cfg.TB.Battle.Role.GRole(_buf);
|
||||
}
|
||||
|
||||
/**
|
||||
* 这是id
|
||||
*/
|
||||
public final int id;
|
||||
/**
|
||||
* 名字
|
||||
*/
|
||||
public final String name;
|
||||
/**
|
||||
* 价格
|
||||
*/
|
||||
public final int price;
|
||||
/**
|
||||
* 过期时间
|
||||
*/
|
||||
public final Long expireTime;
|
||||
|
||||
public static final int __ID__ = -1539036837;
|
||||
|
||||
@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):" + name + ","
|
||||
+ "(format_field_name __code_style field.name):" + price + ","
|
||||
+ "(format_field_name __code_style field.name):" + expireTime + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
85
JisolGameServer/Main/src/main/java/cfg/TB/TbGMap.java
Normal file
85
JisolGameServer/Main/src/main/java/cfg/TB/TbGMap.java
Normal file
@@ -0,0 +1,85 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 TbGMap extends AbstractBean {
|
||||
public TbGMap(JsonObject _buf) {
|
||||
id = _buf.get("id").getAsInt();
|
||||
mapName = _buf.get("mapName").getAsString();
|
||||
map1 = _buf.get("map1").getAsString();
|
||||
map2 = _buf.get("map2").getAsString();
|
||||
map3 = _buf.get("map3").getAsString();
|
||||
map1OffsetY = _buf.get("map1OffsetY").getAsInt();
|
||||
map2OffsetY = _buf.get("map2OffsetY").getAsInt();
|
||||
map3OffsetY = _buf.get("map3OffsetY").getAsInt();
|
||||
}
|
||||
|
||||
public static TbGMap deserialize(JsonObject _buf) {
|
||||
return new cfg.TB.TbGMap(_buf);
|
||||
}
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
public final int id;
|
||||
/**
|
||||
* 地图名称
|
||||
*/
|
||||
public final String mapName;
|
||||
/**
|
||||
* 地图1(前)
|
||||
*/
|
||||
public final String map1;
|
||||
/**
|
||||
* 地图2(后)
|
||||
*/
|
||||
public final String map2;
|
||||
/**
|
||||
* 地图3(天空)
|
||||
*/
|
||||
public final String map3;
|
||||
/**
|
||||
* 地图1(前) 偏移量Y
|
||||
*/
|
||||
public final int map1OffsetY;
|
||||
/**
|
||||
* 地图2(后) 偏移量Y
|
||||
*/
|
||||
public final int map2OffsetY;
|
||||
/**
|
||||
* 地图2(后) 偏移量Y
|
||||
*/
|
||||
public final int map3OffsetY;
|
||||
|
||||
public static final int __ID__ = -2067912029;
|
||||
|
||||
@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):" + mapName + ","
|
||||
+ "(format_field_name __code_style field.name):" + map1 + ","
|
||||
+ "(format_field_name __code_style field.name):" + map2 + ","
|
||||
+ "(format_field_name __code_style field.name):" + map3 + ","
|
||||
+ "(format_field_name __code_style field.name):" + map1OffsetY + ","
|
||||
+ "(format_field_name __code_style field.name):" + map2OffsetY + ","
|
||||
+ "(format_field_name __code_style field.name):" + map3OffsetY + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
67
JisolGameServer/Main/src/main/java/cfg/TB/TbGRole.java
Normal file
67
JisolGameServer/Main/src/main/java/cfg/TB/TbGRole.java
Normal file
@@ -0,0 +1,67 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 TbGRole extends AbstractBean {
|
||||
public TbGRole(JsonObject _buf) {
|
||||
id = _buf.get("id").getAsInt();
|
||||
roleName = _buf.get("roleName").getAsString();
|
||||
spine = _buf.get("spine").getAsString();
|
||||
{ com.google.gson.JsonArray _json0_ = _buf.get("roleSkillIds").getAsJsonArray(); int __n0 = _json0_.size(); roleSkillIds = new int[__n0]; int __index0=0; for(JsonElement __e0 : _json0_) { int __v0; __v0 = __e0.getAsInt(); roleSkillIds[__index0++] = __v0; } }
|
||||
roleAttackRange = _buf.get("roleAttackRange").getAsInt();
|
||||
}
|
||||
|
||||
public static TbGRole deserialize(JsonObject _buf) {
|
||||
return new cfg.TB.TbGRole(_buf);
|
||||
}
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
public final int id;
|
||||
/**
|
||||
* 角色名称
|
||||
*/
|
||||
public final String roleName;
|
||||
/**
|
||||
* 描述
|
||||
*/
|
||||
public final String spine;
|
||||
/**
|
||||
* 角色技能Id列表
|
||||
*/
|
||||
public final int[] roleSkillIds;
|
||||
/**
|
||||
* 角色攻击范围
|
||||
*/
|
||||
public final int roleAttackRange;
|
||||
|
||||
public static final int __ID__ = 319398927;
|
||||
|
||||
@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):" + roleName + ","
|
||||
+ "(format_field_name __code_style field.name):" + spine + ","
|
||||
+ "(format_field_name __code_style field.name):" + roleSkillIds + ","
|
||||
+ "(format_field_name __code_style field.name):" + roleAttackRange + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
55
JisolGameServer/Main/src/main/java/cfg/TB/TbGRoleAttack.java
Normal file
55
JisolGameServer/Main/src/main/java/cfg/TB/TbGRoleAttack.java
Normal file
@@ -0,0 +1,55 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 TbGRoleAttack extends AbstractBean {
|
||||
public TbGRoleAttack(JsonObject _buf) {
|
||||
id = _buf.get("id").getAsInt();
|
||||
attackWay = _buf.get("attackWay").getAsString();
|
||||
{ com.google.gson.JsonArray _json0_ = _buf.get("attackArgs").getAsJsonArray(); int __n0 = _json0_.size(); attackArgs = new String[__n0]; int __index0=0; for(JsonElement __e0 : _json0_) { String __v0; __v0 = __e0.getAsString(); attackArgs[__index0++] = __v0; } }
|
||||
}
|
||||
|
||||
public static TbGRoleAttack deserialize(JsonObject _buf) {
|
||||
return new cfg.TB.TbGRoleAttack(_buf);
|
||||
}
|
||||
|
||||
/**
|
||||
* 角色Id
|
||||
*/
|
||||
public final int id;
|
||||
/**
|
||||
* 攻击方式
|
||||
*/
|
||||
public final String attackWay;
|
||||
/**
|
||||
* 攻击参数
|
||||
*/
|
||||
public final String[] attackArgs;
|
||||
|
||||
public static final int __ID__ = -180357321;
|
||||
|
||||
@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):" + attackWay + ","
|
||||
+ "(format_field_name __code_style field.name):" + attackArgs + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
@@ -0,0 +1,61 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 TbGRoleBattleRes extends AbstractBean {
|
||||
public TbGRoleBattleRes(JsonObject _buf) {
|
||||
id = _buf.get("id").getAsInt();
|
||||
resName = _buf.get("resName").getAsString();
|
||||
resType = _buf.get("resType").getAsString();
|
||||
resSrc = _buf.get("resSrc").getAsString();
|
||||
}
|
||||
|
||||
public static TbGRoleBattleRes deserialize(JsonObject _buf) {
|
||||
return new cfg.TB.TbGRoleBattleRes(_buf);
|
||||
}
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
public final int id;
|
||||
/**
|
||||
* 资源名称
|
||||
*/
|
||||
public final String resName;
|
||||
/**
|
||||
* 资源类型
|
||||
*/
|
||||
public final String resType;
|
||||
/**
|
||||
* 资源地址
|
||||
*/
|
||||
public final String resSrc;
|
||||
|
||||
public static final int __ID__ = -29806215;
|
||||
|
||||
@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):" + resName + ","
|
||||
+ "(format_field_name __code_style field.name):" + resType + ","
|
||||
+ "(format_field_name __code_style field.name):" + resSrc + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
67
JisolGameServer/Main/src/main/java/cfg/TB/TbGRoleSkill.java
Normal file
67
JisolGameServer/Main/src/main/java/cfg/TB/TbGRoleSkill.java
Normal file
@@ -0,0 +1,67 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 TbGRoleSkill extends AbstractBean {
|
||||
public TbGRoleSkill(JsonObject _buf) {
|
||||
id = _buf.get("id").getAsInt();
|
||||
skillName = _buf.get("skillName").getAsString();
|
||||
skillController = _buf.get("skillController").getAsString();
|
||||
{ com.google.gson.JsonArray _json0_ = _buf.get("skillArgs").getAsJsonArray(); int __n0 = _json0_.size(); skillArgs = new String[__n0]; int __index0=0; for(JsonElement __e0 : _json0_) { String __v0; __v0 = __e0.getAsString(); skillArgs[__index0++] = __v0; } }
|
||||
skillText = _buf.get("skillText").getAsString();
|
||||
}
|
||||
|
||||
public static TbGRoleSkill deserialize(JsonObject _buf) {
|
||||
return new cfg.TB.TbGRoleSkill(_buf);
|
||||
}
|
||||
|
||||
/**
|
||||
* 角色Id
|
||||
*/
|
||||
public final int id;
|
||||
/**
|
||||
* 技能名称
|
||||
*/
|
||||
public final String skillName;
|
||||
/**
|
||||
* 技能控制器
|
||||
*/
|
||||
public final String skillController;
|
||||
/**
|
||||
* 技能参数
|
||||
*/
|
||||
public final String[] skillArgs;
|
||||
/**
|
||||
* 技能介绍
|
||||
*/
|
||||
public final String skillText;
|
||||
|
||||
public static final int __ID__ = 1673095042;
|
||||
|
||||
@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):" + skillName + ","
|
||||
+ "(format_field_name __code_style field.name):" + skillController + ","
|
||||
+ "(format_field_name __code_style field.name):" + skillArgs + ","
|
||||
+ "(format_field_name __code_style field.name):" + skillText + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
@@ -21,9 +21,21 @@ public final class Tables
|
||||
|
||||
private final cfg.TbGRole _tbgrole;
|
||||
public cfg.TbGRole getTbGRole() { return _tbgrole; }
|
||||
private final cfg.TbGMap _tbgmap;
|
||||
public cfg.TbGMap getTbGMap() { return _tbgmap; }
|
||||
private final cfg.TbGRoleAttack _tbgroleattack;
|
||||
public cfg.TbGRoleAttack getTbGRoleAttack() { return _tbgroleattack; }
|
||||
private final cfg.TbGRoleBattleRes _tbgrolebattleres;
|
||||
public cfg.TbGRoleBattleRes getTbGRoleBattleRes() { return _tbgrolebattleres; }
|
||||
private final cfg.TbGRoleSkill _tbgroleskill;
|
||||
public cfg.TbGRoleSkill getTbGRoleSkill() { return _tbgroleskill; }
|
||||
|
||||
public Tables(IJsonLoader loader) throws java.io.IOException {
|
||||
_tbgrole = new cfg.TbGRole(loader.load("tbgrole"));
|
||||
_tbgmap = new cfg.TbGMap(loader.load("tbgmap"));
|
||||
_tbgroleattack = new cfg.TbGRoleAttack(loader.load("tbgroleattack"));
|
||||
_tbgrolebattleres = new cfg.TbGRoleBattleRes(loader.load("tbgrolebattleres"));
|
||||
_tbgroleskill = new cfg.TbGRoleSkill(loader.load("tbgroleskill"));
|
||||
}
|
||||
}
|
||||
|
||||
|
37
JisolGameServer/Main/src/main/java/cfg/TbGMap.java
Normal file
37
JisolGameServer/Main/src/main/java/cfg/TbGMap.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 TbGMap {
|
||||
private final java.util.HashMap<Integer, cfg.TB.TbGMap> _dataMap;
|
||||
private final java.util.ArrayList<cfg.TB.TbGMap> _dataList;
|
||||
|
||||
public TbGMap(JsonElement _buf) {
|
||||
_dataMap = new java.util.HashMap<Integer, cfg.TB.TbGMap>();
|
||||
_dataList = new java.util.ArrayList<cfg.TB.TbGMap>();
|
||||
|
||||
for (com.google.gson.JsonElement _e_ : _buf.getAsJsonArray()) {
|
||||
cfg.TB.TbGMap _v;
|
||||
_v = cfg.TB.TbGMap.deserialize(_e_.getAsJsonObject());
|
||||
_dataList.add(_v);
|
||||
_dataMap.put(_v.id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public java.util.HashMap<Integer, cfg.TB.TbGMap> getDataMap() { return _dataMap; }
|
||||
public java.util.ArrayList<cfg.TB.TbGMap> getDataList() { return _dataList; }
|
||||
|
||||
public cfg.TB.TbGMap get(int key) { return _dataMap.get(key); }
|
||||
|
||||
}
|
@@ -14,24 +14,24 @@ import com.google.gson.JsonElement;
|
||||
|
||||
|
||||
public final class TbGRole {
|
||||
private final java.util.HashMap<Integer, cfg.TB.Battle.Role.GRole> _dataMap;
|
||||
private final java.util.ArrayList<cfg.TB.Battle.Role.GRole> _dataList;
|
||||
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.Battle.Role.GRole>();
|
||||
_dataList = new java.util.ArrayList<cfg.TB.Battle.Role.GRole>();
|
||||
_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.Battle.Role.GRole _v;
|
||||
_v = cfg.TB.Battle.Role.GRole.deserialize(_e_.getAsJsonObject());
|
||||
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.Battle.Role.GRole> getDataMap() { return _dataMap; }
|
||||
public java.util.ArrayList<cfg.TB.Battle.Role.GRole> getDataList() { return _dataList; }
|
||||
public java.util.HashMap<Integer, cfg.TB.TbGRole> getDataMap() { return _dataMap; }
|
||||
public java.util.ArrayList<cfg.TB.TbGRole> getDataList() { return _dataList; }
|
||||
|
||||
public cfg.TB.Battle.Role.GRole get(int key) { return _dataMap.get(key); }
|
||||
public cfg.TB.TbGRole get(int key) { return _dataMap.get(key); }
|
||||
|
||||
}
|
||||
|
37
JisolGameServer/Main/src/main/java/cfg/TbGRoleAttack.java
Normal file
37
JisolGameServer/Main/src/main/java/cfg/TbGRoleAttack.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 TbGRoleAttack {
|
||||
private final java.util.HashMap<Integer, cfg.TB.TbGRoleAttack> _dataMap;
|
||||
private final java.util.ArrayList<cfg.TB.TbGRoleAttack> _dataList;
|
||||
|
||||
public TbGRoleAttack(JsonElement _buf) {
|
||||
_dataMap = new java.util.HashMap<Integer, cfg.TB.TbGRoleAttack>();
|
||||
_dataList = new java.util.ArrayList<cfg.TB.TbGRoleAttack>();
|
||||
|
||||
for (com.google.gson.JsonElement _e_ : _buf.getAsJsonArray()) {
|
||||
cfg.TB.TbGRoleAttack _v;
|
||||
_v = cfg.TB.TbGRoleAttack.deserialize(_e_.getAsJsonObject());
|
||||
_dataList.add(_v);
|
||||
_dataMap.put(_v.id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public java.util.HashMap<Integer, cfg.TB.TbGRoleAttack> getDataMap() { return _dataMap; }
|
||||
public java.util.ArrayList<cfg.TB.TbGRoleAttack> getDataList() { return _dataList; }
|
||||
|
||||
public cfg.TB.TbGRoleAttack get(int key) { return _dataMap.get(key); }
|
||||
|
||||
}
|
37
JisolGameServer/Main/src/main/java/cfg/TbGRoleBattleRes.java
Normal file
37
JisolGameServer/Main/src/main/java/cfg/TbGRoleBattleRes.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 TbGRoleBattleRes {
|
||||
private final java.util.HashMap<Integer, cfg.TB.TbGRoleBattleRes> _dataMap;
|
||||
private final java.util.ArrayList<cfg.TB.TbGRoleBattleRes> _dataList;
|
||||
|
||||
public TbGRoleBattleRes(JsonElement _buf) {
|
||||
_dataMap = new java.util.HashMap<Integer, cfg.TB.TbGRoleBattleRes>();
|
||||
_dataList = new java.util.ArrayList<cfg.TB.TbGRoleBattleRes>();
|
||||
|
||||
for (com.google.gson.JsonElement _e_ : _buf.getAsJsonArray()) {
|
||||
cfg.TB.TbGRoleBattleRes _v;
|
||||
_v = cfg.TB.TbGRoleBattleRes.deserialize(_e_.getAsJsonObject());
|
||||
_dataList.add(_v);
|
||||
_dataMap.put(_v.id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public java.util.HashMap<Integer, cfg.TB.TbGRoleBattleRes> getDataMap() { return _dataMap; }
|
||||
public java.util.ArrayList<cfg.TB.TbGRoleBattleRes> getDataList() { return _dataList; }
|
||||
|
||||
public cfg.TB.TbGRoleBattleRes get(int key) { return _dataMap.get(key); }
|
||||
|
||||
}
|
37
JisolGameServer/Main/src/main/java/cfg/TbGRoleSkill.java
Normal file
37
JisolGameServer/Main/src/main/java/cfg/TbGRoleSkill.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 TbGRoleSkill {
|
||||
private final java.util.HashMap<Integer, cfg.TB.TbGRoleSkill> _dataMap;
|
||||
private final java.util.ArrayList<cfg.TB.TbGRoleSkill> _dataList;
|
||||
|
||||
public TbGRoleSkill(JsonElement _buf) {
|
||||
_dataMap = new java.util.HashMap<Integer, cfg.TB.TbGRoleSkill>();
|
||||
_dataList = new java.util.ArrayList<cfg.TB.TbGRoleSkill>();
|
||||
|
||||
for (com.google.gson.JsonElement _e_ : _buf.getAsJsonArray()) {
|
||||
cfg.TB.TbGRoleSkill _v;
|
||||
_v = cfg.TB.TbGRoleSkill.deserialize(_e_.getAsJsonObject());
|
||||
_dataList.add(_v);
|
||||
_dataMap.put(_v.id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public java.util.HashMap<Integer, cfg.TB.TbGRoleSkill> getDataMap() { return _dataMap; }
|
||||
public java.util.ArrayList<cfg.TB.TbGRoleSkill> getDataList() { return _dataList; }
|
||||
|
||||
public cfg.TB.TbGRoleSkill get(int key) { return _dataMap.get(key); }
|
||||
|
||||
}
|
12
JisolGameServer/Main/src/main/resources/json/tbgmap.json
Normal file
12
JisolGameServer/Main/src/main/resources/json/tbgmap.json
Normal file
@@ -0,0 +1,12 @@
|
||||
[
|
||||
{
|
||||
"id": 60001,
|
||||
"mapName": "天空城",
|
||||
"map1": "map/MAP6/MAP6_1/spriteFrame",
|
||||
"map2": "map/MAP6/MAP6_2/spriteFrame",
|
||||
"map3": "map/MAP6/MAP6_3/spriteFrame",
|
||||
"map1OffsetY": 100,
|
||||
"map2OffsetY": 400,
|
||||
"map3OffsetY": 400
|
||||
}
|
||||
]
|
@@ -1,54 +1,34 @@
|
||||
[
|
||||
{
|
||||
"id": 10000,
|
||||
"name": "发型",
|
||||
"price": 100
|
||||
},
|
||||
{
|
||||
"id": 10001,
|
||||
"name": "外套",
|
||||
"price": 100
|
||||
"roleName": "小石头",
|
||||
"spine": "spine/召唤与合成819个Spine/小石头/guaiA1a/spine/guaiA1a",
|
||||
"roleSkillIds": [],
|
||||
"roleAttackRange": 100
|
||||
},
|
||||
{
|
||||
"id": 10002,
|
||||
"name": "上衣",
|
||||
"price": 100
|
||||
"roleName": "坚强小石",
|
||||
"spine": "spine/召唤与合成819个Spine/坚强小石/guaiA1a_1/spine/guaiA1a",
|
||||
"roleSkillIds": [],
|
||||
"roleAttackRange": 100
|
||||
},
|
||||
{
|
||||
"id": 10003,
|
||||
"name": "裙子",
|
||||
"price": 100
|
||||
"roleName": "疯狂松鼠",
|
||||
"spine": "spine/召唤与合成819个Spine/疯狂松鼠/guaiA4e_2/spine/guaiA4e",
|
||||
"roleSkillIds": [
|
||||
40001
|
||||
],
|
||||
"roleAttackRange": 500
|
||||
},
|
||||
{
|
||||
"id": 10004,
|
||||
"name": "袜子",
|
||||
"price": 100
|
||||
},
|
||||
{
|
||||
"id": 10005,
|
||||
"name": "鞋子",
|
||||
"price": 100
|
||||
},
|
||||
{
|
||||
"id": 10006,
|
||||
"name": "发饰",
|
||||
"price": 100
|
||||
},
|
||||
{
|
||||
"id": 10007,
|
||||
"name": "中秋节发饰",
|
||||
"price": 200,
|
||||
"expire_time": 1633881599
|
||||
},
|
||||
{
|
||||
"id": 10008,
|
||||
"name": "中秋节鞋子",
|
||||
"price": 300,
|
||||
"expire_time": 1633967999
|
||||
},
|
||||
{
|
||||
"id": 10009,
|
||||
"name": "礼包",
|
||||
"price": 100
|
||||
"roleName": "妙蛙种子",
|
||||
"spine": "spine/神奇宝贝/001妙蛙种子/spine/001妙蛙种子",
|
||||
"roleSkillIds": [
|
||||
40002
|
||||
],
|
||||
"roleAttackRange": 350
|
||||
}
|
||||
]
|
@@ -0,0 +1,29 @@
|
||||
[
|
||||
{
|
||||
"id": 10001,
|
||||
"attackWay": "Normal",
|
||||
"attackArgs": []
|
||||
},
|
||||
{
|
||||
"id": 10002,
|
||||
"attackWay": "Normal",
|
||||
"attackArgs": []
|
||||
},
|
||||
{
|
||||
"id": 10003,
|
||||
"attackWay": "ParabolicBangRemote",
|
||||
"attackArgs": [
|
||||
"30002",
|
||||
"30001",
|
||||
"timo5 007",
|
||||
"0.6",
|
||||
"100",
|
||||
"100"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 10004,
|
||||
"attackWay": "Normal",
|
||||
"attackArgs": []
|
||||
}
|
||||
]
|
@@ -0,0 +1,32 @@
|
||||
[
|
||||
{
|
||||
"id": 30001,
|
||||
"resName": "爆炸",
|
||||
"resType": "Spine",
|
||||
"resSrc": "effect/爆炸效果/shouji_01/spine/shouji_01"
|
||||
},
|
||||
{
|
||||
"id": 30002,
|
||||
"resName": "炸弹",
|
||||
"resType": "Sprite",
|
||||
"resSrc": "bullets/疯狂松鼠/attack/spriteFrame"
|
||||
},
|
||||
{
|
||||
"id": 30003,
|
||||
"resName": "疯狂松鼠的技能开始 松鼠向天上丢出炸弹",
|
||||
"resType": "Spine",
|
||||
"resSrc": "spine/召唤与合成819个Spine/疯狂松鼠/guaiA4es_2/spine/guaiA4es"
|
||||
},
|
||||
{
|
||||
"id": 30004,
|
||||
"resName": "火球",
|
||||
"resType": "Spine",
|
||||
"resSrc": "effect/子弹效果/base_fly_fire/spine/buff_fire"
|
||||
},
|
||||
{
|
||||
"id": 30005,
|
||||
"resName": "火球爆炸",
|
||||
"resType": "Spine",
|
||||
"resSrc": "effect/爆炸效果/zhouyu_skill2_2/spine/zhouyu_skill2_2"
|
||||
}
|
||||
]
|
@@ -0,0 +1,22 @@
|
||||
[
|
||||
{
|
||||
"id": 40001,
|
||||
"skillName": "疯狂松鼠",
|
||||
"skillController": "GSkillCrazySquirrel",
|
||||
"skillArgs": [
|
||||
"5",
|
||||
"250",
|
||||
"250"
|
||||
],
|
||||
"skillText": "疯狂松鼠的技能 丢出巨大炸弹 轰炸全部玩家"
|
||||
},
|
||||
{
|
||||
"id": 40002,
|
||||
"skillName": "妙蛙种子连击",
|
||||
"skillController": "GSkillBulbasaurDoubleHit",
|
||||
"skillArgs": [
|
||||
"8"
|
||||
],
|
||||
"skillText": "妙蛙种子攻击8次 触发一次射叶子技能"
|
||||
}
|
||||
]
|
Reference in New Issue
Block a user