mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 03:14:47 +00:00
提交装备配置表
This commit is contained in:
parent
2a02dc2914
commit
7aef36352a
Binary file not shown.
Binary file not shown.
BIN
DataTables/Datas/宠物系统/宠物装备/锻造装备品质.xlsx
Normal file
BIN
DataTables/Datas/宠物系统/宠物装备/锻造装备品质.xlsx
Normal file
Binary file not shown.
BIN
DataTables/Datas/宠物系统/宠物装备/锻造装备等级.xlsx
Normal file
BIN
DataTables/Datas/宠物系统/宠物装备/锻造装备等级.xlsx
Normal file
Binary file not shown.
@ -0,0 +1,402 @@
|
||||
[
|
||||
{
|
||||
"id": 1,
|
||||
"exp": 1
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"exp": 2
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"exp": 3
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"exp": 4
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"exp": 5
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"exp": 6
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"exp": 7
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"exp": 8
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"exp": 9
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"exp": 10
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"exp": 11
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"exp": 12
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"exp": 13
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"exp": 14
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"exp": 15
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"exp": 16
|
||||
},
|
||||
{
|
||||
"id": 17,
|
||||
"exp": 17
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"exp": 18
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"exp": 19
|
||||
},
|
||||
{
|
||||
"id": 20,
|
||||
"exp": 20
|
||||
},
|
||||
{
|
||||
"id": 21,
|
||||
"exp": 21
|
||||
},
|
||||
{
|
||||
"id": 22,
|
||||
"exp": 22
|
||||
},
|
||||
{
|
||||
"id": 23,
|
||||
"exp": 23
|
||||
},
|
||||
{
|
||||
"id": 24,
|
||||
"exp": 24
|
||||
},
|
||||
{
|
||||
"id": 25,
|
||||
"exp": 25
|
||||
},
|
||||
{
|
||||
"id": 26,
|
||||
"exp": 26
|
||||
},
|
||||
{
|
||||
"id": 27,
|
||||
"exp": 27
|
||||
},
|
||||
{
|
||||
"id": 28,
|
||||
"exp": 28
|
||||
},
|
||||
{
|
||||
"id": 29,
|
||||
"exp": 29
|
||||
},
|
||||
{
|
||||
"id": 30,
|
||||
"exp": 30
|
||||
},
|
||||
{
|
||||
"id": 31,
|
||||
"exp": 31
|
||||
},
|
||||
{
|
||||
"id": 32,
|
||||
"exp": 32
|
||||
},
|
||||
{
|
||||
"id": 33,
|
||||
"exp": 33
|
||||
},
|
||||
{
|
||||
"id": 34,
|
||||
"exp": 34
|
||||
},
|
||||
{
|
||||
"id": 35,
|
||||
"exp": 35
|
||||
},
|
||||
{
|
||||
"id": 36,
|
||||
"exp": 36
|
||||
},
|
||||
{
|
||||
"id": 37,
|
||||
"exp": 37
|
||||
},
|
||||
{
|
||||
"id": 38,
|
||||
"exp": 38
|
||||
},
|
||||
{
|
||||
"id": 39,
|
||||
"exp": 39
|
||||
},
|
||||
{
|
||||
"id": 40,
|
||||
"exp": 40
|
||||
},
|
||||
{
|
||||
"id": 41,
|
||||
"exp": 41
|
||||
},
|
||||
{
|
||||
"id": 42,
|
||||
"exp": 42
|
||||
},
|
||||
{
|
||||
"id": 43,
|
||||
"exp": 43
|
||||
},
|
||||
{
|
||||
"id": 44,
|
||||
"exp": 44
|
||||
},
|
||||
{
|
||||
"id": 45,
|
||||
"exp": 45
|
||||
},
|
||||
{
|
||||
"id": 46,
|
||||
"exp": 46
|
||||
},
|
||||
{
|
||||
"id": 47,
|
||||
"exp": 47
|
||||
},
|
||||
{
|
||||
"id": 48,
|
||||
"exp": 48
|
||||
},
|
||||
{
|
||||
"id": 49,
|
||||
"exp": 49
|
||||
},
|
||||
{
|
||||
"id": 50,
|
||||
"exp": 50
|
||||
},
|
||||
{
|
||||
"id": 51,
|
||||
"exp": 51
|
||||
},
|
||||
{
|
||||
"id": 52,
|
||||
"exp": 52
|
||||
},
|
||||
{
|
||||
"id": 53,
|
||||
"exp": 53
|
||||
},
|
||||
{
|
||||
"id": 54,
|
||||
"exp": 54
|
||||
},
|
||||
{
|
||||
"id": 55,
|
||||
"exp": 55
|
||||
},
|
||||
{
|
||||
"id": 56,
|
||||
"exp": 56
|
||||
},
|
||||
{
|
||||
"id": 57,
|
||||
"exp": 57
|
||||
},
|
||||
{
|
||||
"id": 58,
|
||||
"exp": 58
|
||||
},
|
||||
{
|
||||
"id": 59,
|
||||
"exp": 59
|
||||
},
|
||||
{
|
||||
"id": 60,
|
||||
"exp": 60
|
||||
},
|
||||
{
|
||||
"id": 61,
|
||||
"exp": 61
|
||||
},
|
||||
{
|
||||
"id": 62,
|
||||
"exp": 62
|
||||
},
|
||||
{
|
||||
"id": 63,
|
||||
"exp": 63
|
||||
},
|
||||
{
|
||||
"id": 64,
|
||||
"exp": 64
|
||||
},
|
||||
{
|
||||
"id": 65,
|
||||
"exp": 65
|
||||
},
|
||||
{
|
||||
"id": 66,
|
||||
"exp": 66
|
||||
},
|
||||
{
|
||||
"id": 67,
|
||||
"exp": 67
|
||||
},
|
||||
{
|
||||
"id": 68,
|
||||
"exp": 68
|
||||
},
|
||||
{
|
||||
"id": 69,
|
||||
"exp": 69
|
||||
},
|
||||
{
|
||||
"id": 70,
|
||||
"exp": 70
|
||||
},
|
||||
{
|
||||
"id": 71,
|
||||
"exp": 71
|
||||
},
|
||||
{
|
||||
"id": 72,
|
||||
"exp": 72
|
||||
},
|
||||
{
|
||||
"id": 73,
|
||||
"exp": 73
|
||||
},
|
||||
{
|
||||
"id": 74,
|
||||
"exp": 74
|
||||
},
|
||||
{
|
||||
"id": 75,
|
||||
"exp": 75
|
||||
},
|
||||
{
|
||||
"id": 76,
|
||||
"exp": 76
|
||||
},
|
||||
{
|
||||
"id": 77,
|
||||
"exp": 77
|
||||
},
|
||||
{
|
||||
"id": 78,
|
||||
"exp": 78
|
||||
},
|
||||
{
|
||||
"id": 79,
|
||||
"exp": 79
|
||||
},
|
||||
{
|
||||
"id": 80,
|
||||
"exp": 80
|
||||
},
|
||||
{
|
||||
"id": 81,
|
||||
"exp": 81
|
||||
},
|
||||
{
|
||||
"id": 82,
|
||||
"exp": 82
|
||||
},
|
||||
{
|
||||
"id": 83,
|
||||
"exp": 83
|
||||
},
|
||||
{
|
||||
"id": 84,
|
||||
"exp": 84
|
||||
},
|
||||
{
|
||||
"id": 85,
|
||||
"exp": 85
|
||||
},
|
||||
{
|
||||
"id": 86,
|
||||
"exp": 86
|
||||
},
|
||||
{
|
||||
"id": 87,
|
||||
"exp": 87
|
||||
},
|
||||
{
|
||||
"id": 88,
|
||||
"exp": 88
|
||||
},
|
||||
{
|
||||
"id": 89,
|
||||
"exp": 89
|
||||
},
|
||||
{
|
||||
"id": 90,
|
||||
"exp": 90
|
||||
},
|
||||
{
|
||||
"id": 91,
|
||||
"exp": 91
|
||||
},
|
||||
{
|
||||
"id": 92,
|
||||
"exp": 92
|
||||
},
|
||||
{
|
||||
"id": 93,
|
||||
"exp": 93
|
||||
},
|
||||
{
|
||||
"id": 94,
|
||||
"exp": 94
|
||||
},
|
||||
{
|
||||
"id": 95,
|
||||
"exp": 95
|
||||
},
|
||||
{
|
||||
"id": 96,
|
||||
"exp": 96
|
||||
},
|
||||
{
|
||||
"id": 97,
|
||||
"exp": 97
|
||||
},
|
||||
{
|
||||
"id": 98,
|
||||
"exp": 98
|
||||
},
|
||||
{
|
||||
"id": 99,
|
||||
"exp": 99
|
||||
},
|
||||
{
|
||||
"id": 100,
|
||||
"exp": 100
|
||||
}
|
||||
]
|
1602
JisolGameCocos/assets/resources/config/json/tbgroleequipquality.json
Normal file
1602
JisolGameCocos/assets/resources/config/json/tbgroleequipquality.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -807,6 +807,66 @@ export class TAttributeValue {
|
||||
}
|
||||
|
||||
|
||||
export namespace TB {
|
||||
export class TbGRoleEquipLevel {
|
||||
|
||||
constructor(_json_: any) {
|
||||
if (_json_.id === undefined) { throw new Error() }
|
||||
this.id = _json_.id
|
||||
if (_json_.exp === undefined) { throw new Error() }
|
||||
this.exp = _json_.exp
|
||||
}
|
||||
|
||||
/**
|
||||
* 锻造的装备等级
|
||||
*/
|
||||
readonly id: number
|
||||
/**
|
||||
* 下一级所需经验
|
||||
*/
|
||||
readonly exp: number
|
||||
|
||||
resolve(tables:Tables)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
export namespace TB {
|
||||
export class TbGRoleEquipQuality {
|
||||
|
||||
constructor(_json_: any) {
|
||||
if (_json_.id === undefined) { throw new Error() }
|
||||
this.id = _json_.id
|
||||
if (_json_.odds === undefined) { throw new Error() }
|
||||
{ this.odds = []; for(let _ele of _json_.odds) { let _e; _e = _ele; this.odds.push(_e);}}
|
||||
if (_json_.total === undefined) { throw new Error() }
|
||||
this.total = _json_.total
|
||||
}
|
||||
|
||||
/**
|
||||
* 锻造品质等级
|
||||
*/
|
||||
readonly id: number
|
||||
/**
|
||||
* 品质出现的概率
|
||||
*/
|
||||
readonly odds: number[]
|
||||
/**
|
||||
* 总概率
|
||||
*/
|
||||
readonly total: number
|
||||
|
||||
resolve(tables:Tables)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
export namespace TB {
|
||||
export class TbGSysFuben {
|
||||
|
||||
@ -1380,6 +1440,70 @@ export class TbGRoleEquip{
|
||||
|
||||
|
||||
|
||||
export class TbGRoleEquipLevel{
|
||||
private _dataMap: Map<number, TB.TbGRoleEquipLevel>
|
||||
private _dataList: TB.TbGRoleEquipLevel[]
|
||||
constructor(_json_: any) {
|
||||
this._dataMap = new Map<number, TB.TbGRoleEquipLevel>()
|
||||
this._dataList = []
|
||||
for(var _json2_ of _json_) {
|
||||
let _v: TB.TbGRoleEquipLevel
|
||||
_v = new TB.TbGRoleEquipLevel(_json2_)
|
||||
this._dataList.push(_v)
|
||||
this._dataMap.set(_v.id, _v)
|
||||
}
|
||||
}
|
||||
|
||||
getDataMap(): Map<number, TB.TbGRoleEquipLevel> { return this._dataMap; }
|
||||
getDataList(): TB.TbGRoleEquipLevel[] { return this._dataList; }
|
||||
|
||||
get(key: number): TB.TbGRoleEquipLevel | undefined { return this._dataMap.get(key); }
|
||||
|
||||
resolve(tables:Tables)
|
||||
{
|
||||
for(let data of this._dataList)
|
||||
{
|
||||
data.resolve(tables)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
export class TbGRoleEquipQuality{
|
||||
private _dataMap: Map<number, TB.TbGRoleEquipQuality>
|
||||
private _dataList: TB.TbGRoleEquipQuality[]
|
||||
constructor(_json_: any) {
|
||||
this._dataMap = new Map<number, TB.TbGRoleEquipQuality>()
|
||||
this._dataList = []
|
||||
for(var _json2_ of _json_) {
|
||||
let _v: TB.TbGRoleEquipQuality
|
||||
_v = new TB.TbGRoleEquipQuality(_json2_)
|
||||
this._dataList.push(_v)
|
||||
this._dataMap.set(_v.id, _v)
|
||||
}
|
||||
}
|
||||
|
||||
getDataMap(): Map<number, TB.TbGRoleEquipQuality> { return this._dataMap; }
|
||||
getDataList(): TB.TbGRoleEquipQuality[] { return this._dataList; }
|
||||
|
||||
get(key: number): TB.TbGRoleEquipQuality | undefined { return this._dataMap.get(key); }
|
||||
|
||||
resolve(tables:Tables)
|
||||
{
|
||||
for(let data of this._dataList)
|
||||
{
|
||||
data.resolve(tables)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
export class TbGSysFuben{
|
||||
private _dataMap: Map<number, TB.TbGSysFuben>
|
||||
private _dataList: TB.TbGSysFuben[]
|
||||
@ -1449,6 +1573,10 @@ export class Tables {
|
||||
get TbBattleResource(): TbBattleResource { return this._TbBattleResource;}
|
||||
private _TbGRoleEquip: TbGRoleEquip
|
||||
get TbGRoleEquip(): TbGRoleEquip { return this._TbGRoleEquip;}
|
||||
private _TbGRoleEquipLevel: TbGRoleEquipLevel
|
||||
get TbGRoleEquipLevel(): TbGRoleEquipLevel { return this._TbGRoleEquipLevel;}
|
||||
private _TbGRoleEquipQuality: TbGRoleEquipQuality
|
||||
get TbGRoleEquipQuality(): TbGRoleEquipQuality { return this._TbGRoleEquipQuality;}
|
||||
private _TbGSysFuben: TbGSysFuben
|
||||
get TbGSysFuben(): TbGSysFuben { return this._TbGSysFuben;}
|
||||
|
||||
@ -1470,6 +1598,8 @@ export class Tables {
|
||||
this._TbGOnHookMap120001 = new TbGOnHookMap120001(loader('tbgonhookmap120001'))
|
||||
this._TbBattleResource = new TbBattleResource(loader('tbbattleresource'))
|
||||
this._TbGRoleEquip = new TbGRoleEquip(loader('tbgroleequip'))
|
||||
this._TbGRoleEquipLevel = new TbGRoleEquipLevel(loader('tbgroleequiplevel'))
|
||||
this._TbGRoleEquipQuality = new TbGRoleEquipQuality(loader('tbgroleequipquality'))
|
||||
this._TbGSysFuben = new TbGSysFuben(loader('tbgsysfuben'))
|
||||
|
||||
this._TbGGlobal.resolve(this)
|
||||
@ -1489,6 +1619,8 @@ export class Tables {
|
||||
this._TbGOnHookMap120001.resolve(this)
|
||||
this._TbBattleResource.resolve(this)
|
||||
this._TbGRoleEquip.resolve(this)
|
||||
this._TbGRoleEquipLevel.resolve(this)
|
||||
this._TbGRoleEquipQuality.resolve(this)
|
||||
this._TbGSysFuben.resolve(this)
|
||||
}
|
||||
}
|
||||
|
@ -21,8 +21,11 @@ public final class TbGRoleEquip extends AbstractBean {
|
||||
type = _buf.get("type").getAsInt();
|
||||
quality = _buf.get("quality").getAsInt();
|
||||
icon = _buf.get("icon").getAsString();
|
||||
{ com.google.gson.JsonArray _json0_ = _buf.get("levelFactors").getAsJsonArray(); int __n0 = _json0_.size(); levelFactors = new int[__n0]; int __index0=0; for(JsonElement __e0 : _json0_) { int __v0; __v0 = __e0.getAsInt(); levelFactors[__index0++] = __v0; } }
|
||||
{ com.google.gson.JsonArray _json0_ = _buf.get("levelBaseAttributesFactors").getAsJsonArray(); int __n0 = _json0_.size(); levelBaseAttributesFactors = new int[__n0]; int __index0=0; for(JsonElement __e0 : _json0_) { int __v0; __v0 = __e0.getAsInt(); levelBaseAttributesFactors[__index0++] = __v0; } }
|
||||
{ com.google.gson.JsonArray _json0_ = _buf.get("baseAttributes").getAsJsonArray(); int __n0 = _json0_.size(); baseAttributes = new cfg.TbGEntity.TAttributeValue[__n0][]; int __index0=0; for(JsonElement __e0 : _json0_) { cfg.TbGEntity.TAttributeValue[] __v0; { com.google.gson.JsonArray _json1_ = __e0.getAsJsonArray(); int __n1 = _json1_.size(); __v0 = new cfg.TbGEntity.TAttributeValue[__n1]; int __index1=0; for(JsonElement __e1 : _json1_) { cfg.TbGEntity.TAttributeValue __v1; __v1 = cfg.TbGEntity.TAttributeValue.deserialize(__e1.getAsJsonObject()); __v0[__index1++] = __v1; } } baseAttributes[__index0++] = __v0; } }
|
||||
{ com.google.gson.JsonArray _json0_ = _buf.get("levelHighAttributesFactors").getAsJsonArray(); int __n0 = _json0_.size(); levelHighAttributesFactors = new int[__n0]; int __index0=0; for(JsonElement __e0 : _json0_) { int __v0; __v0 = __e0.getAsInt(); levelHighAttributesFactors[__index0++] = __v0; } }
|
||||
{ com.google.gson.JsonArray _json0_ = _buf.get("highAttributes").getAsJsonArray(); int __n0 = _json0_.size(); highAttributes = new cfg.TbGEntity.TAttributeValue[__n0][]; int __index0=0; for(JsonElement __e0 : _json0_) { cfg.TbGEntity.TAttributeValue[] __v0; { com.google.gson.JsonArray _json1_ = __e0.getAsJsonArray(); int __n1 = _json1_.size(); __v0 = new cfg.TbGEntity.TAttributeValue[__n1]; int __index1=0; for(JsonElement __e1 : _json1_) { cfg.TbGEntity.TAttributeValue __v1; __v1 = cfg.TbGEntity.TAttributeValue.deserialize(__e1.getAsJsonObject()); __v0[__index1++] = __v1; } } highAttributes[__index0++] = __v0; } }
|
||||
{ com.google.gson.JsonArray _json0_ = _buf.get("highAttributeSize").getAsJsonArray(); int __n0 = _json0_.size(); highAttributeSize = new int[__n0]; int __index0=0; for(JsonElement __e0 : _json0_) { int __v0; __v0 = __e0.getAsInt(); highAttributeSize[__index0++] = __v0; } }
|
||||
}
|
||||
|
||||
public static TbGRoleEquip deserialize(JsonObject _buf) {
|
||||
@ -50,13 +53,25 @@ public final class TbGRoleEquip extends AbstractBean {
|
||||
*/
|
||||
public final String icon;
|
||||
/**
|
||||
* 等级系数 (属性 * (等级 * 系数))
|
||||
* 基础等级属性系数 (属性 * (等级 * 系数))
|
||||
*/
|
||||
public final int[] levelFactors;
|
||||
public final int[] levelBaseAttributesFactors;
|
||||
/**
|
||||
* 基础属性(value - value 区间)
|
||||
*/
|
||||
public final cfg.TbGEntity.TAttributeValue[][] baseAttributes;
|
||||
/**
|
||||
* 高级等级属性系数 (属性 * (等级 * 系数))
|
||||
*/
|
||||
public final int[] levelHighAttributesFactors;
|
||||
/**
|
||||
* 高级属性(value - value 区间)
|
||||
*/
|
||||
public final cfg.TbGEntity.TAttributeValue[][] highAttributes;
|
||||
/**
|
||||
* 高级词条随机数量
|
||||
*/
|
||||
public final int[] highAttributeSize;
|
||||
|
||||
public static final int __ID__ = 1660355937;
|
||||
|
||||
@ -71,8 +86,11 @@ public final class TbGRoleEquip extends AbstractBean {
|
||||
+ "(format_field_name __code_style field.name):" + type + ","
|
||||
+ "(format_field_name __code_style field.name):" + quality + ","
|
||||
+ "(format_field_name __code_style field.name):" + icon + ","
|
||||
+ "(format_field_name __code_style field.name):" + levelFactors + ","
|
||||
+ "(format_field_name __code_style field.name):" + levelBaseAttributesFactors + ","
|
||||
+ "(format_field_name __code_style field.name):" + baseAttributes + ","
|
||||
+ "(format_field_name __code_style field.name):" + levelHighAttributesFactors + ","
|
||||
+ "(format_field_name __code_style field.name):" + highAttributes + ","
|
||||
+ "(format_field_name __code_style field.name):" + highAttributeSize + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
@ -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 TbGRoleEquipLevel extends AbstractBean {
|
||||
public TbGRoleEquipLevel(JsonObject _buf) {
|
||||
id = _buf.get("id").getAsInt();
|
||||
exp = _buf.get("exp").getAsInt();
|
||||
}
|
||||
|
||||
public static TbGRoleEquipLevel deserialize(JsonObject _buf) {
|
||||
return new cfg.TB.TbGRoleEquipLevel(_buf);
|
||||
}
|
||||
|
||||
/**
|
||||
* 锻造的装备等级
|
||||
*/
|
||||
public final int id;
|
||||
/**
|
||||
* 下一级所需经验
|
||||
*/
|
||||
public final int exp;
|
||||
|
||||
public static final int __ID__ = 294181539;
|
||||
|
||||
@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):" + exp + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
@ -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 TbGRoleEquipQuality extends AbstractBean {
|
||||
public TbGRoleEquipQuality(JsonObject _buf) {
|
||||
id = _buf.get("id").getAsInt();
|
||||
{ com.google.gson.JsonArray _json0_ = _buf.get("odds").getAsJsonArray(); int __n0 = _json0_.size(); odds = new int[__n0]; int __index0=0; for(JsonElement __e0 : _json0_) { int __v0; __v0 = __e0.getAsInt(); odds[__index0++] = __v0; } }
|
||||
total = _buf.get("total").getAsInt();
|
||||
}
|
||||
|
||||
public static TbGRoleEquipQuality deserialize(JsonObject _buf) {
|
||||
return new cfg.TB.TbGRoleEquipQuality(_buf);
|
||||
}
|
||||
|
||||
/**
|
||||
* 锻造品质等级
|
||||
*/
|
||||
public final int id;
|
||||
/**
|
||||
* 品质出现的概率
|
||||
*/
|
||||
public final int[] odds;
|
||||
/**
|
||||
* 总概率
|
||||
*/
|
||||
public final int total;
|
||||
|
||||
public static final int __ID__ = -177949602;
|
||||
|
||||
@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):" + odds + ","
|
||||
+ "(format_field_name __code_style field.name):" + total + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
@ -53,6 +53,10 @@ public final class Tables
|
||||
public cfg.TbBattleResource getTbBattleResource() { return _tbbattleresource; }
|
||||
private final cfg.TbGRoleEquip _tbgroleequip;
|
||||
public cfg.TbGRoleEquip getTbGRoleEquip() { return _tbgroleequip; }
|
||||
private final cfg.TbGRoleEquipLevel _tbgroleequiplevel;
|
||||
public cfg.TbGRoleEquipLevel getTbGRoleEquipLevel() { return _tbgroleequiplevel; }
|
||||
private final cfg.TbGRoleEquipQuality _tbgroleequipquality;
|
||||
public cfg.TbGRoleEquipQuality getTbGRoleEquipQuality() { return _tbgroleequipquality; }
|
||||
private final cfg.TbGSysFuben _tbgsysfuben;
|
||||
public cfg.TbGSysFuben getTbGSysFuben() { return _tbgsysfuben; }
|
||||
|
||||
@ -74,6 +78,8 @@ public final class Tables
|
||||
_tbgonhookmap120001 = new cfg.TbGOnHookMap120001(loader.load("tbgonhookmap120001"));
|
||||
_tbbattleresource = new cfg.TbBattleResource(loader.load("tbbattleresource"));
|
||||
_tbgroleequip = new cfg.TbGRoleEquip(loader.load("tbgroleequip"));
|
||||
_tbgroleequiplevel = new cfg.TbGRoleEquipLevel(loader.load("tbgroleequiplevel"));
|
||||
_tbgroleequipquality = new cfg.TbGRoleEquipQuality(loader.load("tbgroleequipquality"));
|
||||
_tbgsysfuben = new cfg.TbGSysFuben(loader.load("tbgsysfuben"));
|
||||
}
|
||||
}
|
||||
|
@ -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 TbGRoleEquipLevel {
|
||||
private final java.util.HashMap<Integer, cfg.TB.TbGRoleEquipLevel> _dataMap;
|
||||
private final java.util.ArrayList<cfg.TB.TbGRoleEquipLevel> _dataList;
|
||||
|
||||
public TbGRoleEquipLevel(JsonElement _buf) {
|
||||
_dataMap = new java.util.HashMap<Integer, cfg.TB.TbGRoleEquipLevel>();
|
||||
_dataList = new java.util.ArrayList<cfg.TB.TbGRoleEquipLevel>();
|
||||
|
||||
for (com.google.gson.JsonElement _e_ : _buf.getAsJsonArray()) {
|
||||
cfg.TB.TbGRoleEquipLevel _v;
|
||||
_v = cfg.TB.TbGRoleEquipLevel.deserialize(_e_.getAsJsonObject());
|
||||
_dataList.add(_v);
|
||||
_dataMap.put(_v.id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public java.util.HashMap<Integer, cfg.TB.TbGRoleEquipLevel> getDataMap() { return _dataMap; }
|
||||
public java.util.ArrayList<cfg.TB.TbGRoleEquipLevel> getDataList() { return _dataList; }
|
||||
|
||||
public cfg.TB.TbGRoleEquipLevel get(int key) { return _dataMap.get(key); }
|
||||
|
||||
}
|
@ -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 TbGRoleEquipQuality {
|
||||
private final java.util.HashMap<Integer, cfg.TB.TbGRoleEquipQuality> _dataMap;
|
||||
private final java.util.ArrayList<cfg.TB.TbGRoleEquipQuality> _dataList;
|
||||
|
||||
public TbGRoleEquipQuality(JsonElement _buf) {
|
||||
_dataMap = new java.util.HashMap<Integer, cfg.TB.TbGRoleEquipQuality>();
|
||||
_dataList = new java.util.ArrayList<cfg.TB.TbGRoleEquipQuality>();
|
||||
|
||||
for (com.google.gson.JsonElement _e_ : _buf.getAsJsonArray()) {
|
||||
cfg.TB.TbGRoleEquipQuality _v;
|
||||
_v = cfg.TB.TbGRoleEquipQuality.deserialize(_e_.getAsJsonObject());
|
||||
_dataList.add(_v);
|
||||
_dataMap.put(_v.id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public java.util.HashMap<Integer, cfg.TB.TbGRoleEquipQuality> getDataMap() { return _dataMap; }
|
||||
public java.util.ArrayList<cfg.TB.TbGRoleEquipQuality> getDataList() { return _dataList; }
|
||||
|
||||
public cfg.TB.TbGRoleEquipQuality get(int key) { return _dataMap.get(key); }
|
||||
|
||||
}
|
@ -1,18 +1,15 @@
|
||||
package cn.jisol.game.actions.onhook;
|
||||
|
||||
import cn.hutool.json.JSON;
|
||||
import cn.hutool.json.JSONUtil;
|
||||
import cn.jisol.game.actions.GActionEnum;
|
||||
import cn.jisol.game.actions.GActionEvent;
|
||||
import cn.jisol.game.actions.GRefereeAction;
|
||||
import cn.jisol.game.controller.game.GPlayerPetController;
|
||||
import cn.jisol.game.controller.game.GPlayerTacticalController;
|
||||
import cn.jisol.game.entity.game.PlayerTactical;
|
||||
import cn.jisol.game.network.client.GClient;
|
||||
import cn.jisol.game.network.client.GRefereeClient;
|
||||
import cn.jisol.game.proto.GPVPMessage;
|
||||
import cn.jisol.game.proto.GUIMessage;
|
||||
import cn.jisol.game.service.PlayerTacticalService;
|
||||
import cn.jisol.ngame.actions.core.NAction;
|
||||
import cn.jisol.ngame.actions.core.NActionMethod;
|
||||
import cn.jisol.ngame.util.EventDispatcher;
|
||||
|
@ -0,0 +1,19 @@
|
||||
package cn.jisol.game.controller.game;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* 玩家宠物装备
|
||||
*/
|
||||
@Api(value = "JNGameDemo - API", tags = {"PET - API"})
|
||||
@RestController
|
||||
@RequestMapping("/game/equip")
|
||||
@ResponseBody
|
||||
public class GPlayerEquipController {
|
||||
|
||||
|
||||
|
||||
}
|
@ -13,19 +13,16 @@ import cn.jisol.game.vo.news.NewsResource;
|
||||
import cn.jisol.game.vo.news.ov.ResourceUpdateOV;
|
||||
import cn.jisol.game.vo.pet.PetUpStarOV;
|
||||
import cn.jisol.ngame.util.NewsContext;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiImplicitParams;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.retry.RetryException;
|
||||
import org.springframework.retry.annotation.Retryable;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
|
@ -4,8 +4,8 @@ spring:
|
||||
datasource:
|
||||
username: pet_jisol_cn
|
||||
password: sThsBwjfDcaw2wJR
|
||||
# url: jdbc:mysql://kyu.jisol.cn:3306/pet_jisol_cn?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&allowMultiQueries=true
|
||||
url: jdbc:mysql://localhost:3306/pet_jisol_cn?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&allowMultiQueries=true
|
||||
url: jdbc:mysql://kyu.jisol.cn:3306/pet_jisol_cn?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&allowMultiQueries=true
|
||||
# url: jdbc:mysql://localhost:3306/pet_jisol_cn?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&allowMultiQueries=true
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
jackson:
|
||||
serialization:
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,402 @@
|
||||
[
|
||||
{
|
||||
"id": 1,
|
||||
"exp": 1
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"exp": 2
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"exp": 3
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"exp": 4
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"exp": 5
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"exp": 6
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"exp": 7
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"exp": 8
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"exp": 9
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"exp": 10
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"exp": 11
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"exp": 12
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"exp": 13
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"exp": 14
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"exp": 15
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"exp": 16
|
||||
},
|
||||
{
|
||||
"id": 17,
|
||||
"exp": 17
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"exp": 18
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"exp": 19
|
||||
},
|
||||
{
|
||||
"id": 20,
|
||||
"exp": 20
|
||||
},
|
||||
{
|
||||
"id": 21,
|
||||
"exp": 21
|
||||
},
|
||||
{
|
||||
"id": 22,
|
||||
"exp": 22
|
||||
},
|
||||
{
|
||||
"id": 23,
|
||||
"exp": 23
|
||||
},
|
||||
{
|
||||
"id": 24,
|
||||
"exp": 24
|
||||
},
|
||||
{
|
||||
"id": 25,
|
||||
"exp": 25
|
||||
},
|
||||
{
|
||||
"id": 26,
|
||||
"exp": 26
|
||||
},
|
||||
{
|
||||
"id": 27,
|
||||
"exp": 27
|
||||
},
|
||||
{
|
||||
"id": 28,
|
||||
"exp": 28
|
||||
},
|
||||
{
|
||||
"id": 29,
|
||||
"exp": 29
|
||||
},
|
||||
{
|
||||
"id": 30,
|
||||
"exp": 30
|
||||
},
|
||||
{
|
||||
"id": 31,
|
||||
"exp": 31
|
||||
},
|
||||
{
|
||||
"id": 32,
|
||||
"exp": 32
|
||||
},
|
||||
{
|
||||
"id": 33,
|
||||
"exp": 33
|
||||
},
|
||||
{
|
||||
"id": 34,
|
||||
"exp": 34
|
||||
},
|
||||
{
|
||||
"id": 35,
|
||||
"exp": 35
|
||||
},
|
||||
{
|
||||
"id": 36,
|
||||
"exp": 36
|
||||
},
|
||||
{
|
||||
"id": 37,
|
||||
"exp": 37
|
||||
},
|
||||
{
|
||||
"id": 38,
|
||||
"exp": 38
|
||||
},
|
||||
{
|
||||
"id": 39,
|
||||
"exp": 39
|
||||
},
|
||||
{
|
||||
"id": 40,
|
||||
"exp": 40
|
||||
},
|
||||
{
|
||||
"id": 41,
|
||||
"exp": 41
|
||||
},
|
||||
{
|
||||
"id": 42,
|
||||
"exp": 42
|
||||
},
|
||||
{
|
||||
"id": 43,
|
||||
"exp": 43
|
||||
},
|
||||
{
|
||||
"id": 44,
|
||||
"exp": 44
|
||||
},
|
||||
{
|
||||
"id": 45,
|
||||
"exp": 45
|
||||
},
|
||||
{
|
||||
"id": 46,
|
||||
"exp": 46
|
||||
},
|
||||
{
|
||||
"id": 47,
|
||||
"exp": 47
|
||||
},
|
||||
{
|
||||
"id": 48,
|
||||
"exp": 48
|
||||
},
|
||||
{
|
||||
"id": 49,
|
||||
"exp": 49
|
||||
},
|
||||
{
|
||||
"id": 50,
|
||||
"exp": 50
|
||||
},
|
||||
{
|
||||
"id": 51,
|
||||
"exp": 51
|
||||
},
|
||||
{
|
||||
"id": 52,
|
||||
"exp": 52
|
||||
},
|
||||
{
|
||||
"id": 53,
|
||||
"exp": 53
|
||||
},
|
||||
{
|
||||
"id": 54,
|
||||
"exp": 54
|
||||
},
|
||||
{
|
||||
"id": 55,
|
||||
"exp": 55
|
||||
},
|
||||
{
|
||||
"id": 56,
|
||||
"exp": 56
|
||||
},
|
||||
{
|
||||
"id": 57,
|
||||
"exp": 57
|
||||
},
|
||||
{
|
||||
"id": 58,
|
||||
"exp": 58
|
||||
},
|
||||
{
|
||||
"id": 59,
|
||||
"exp": 59
|
||||
},
|
||||
{
|
||||
"id": 60,
|
||||
"exp": 60
|
||||
},
|
||||
{
|
||||
"id": 61,
|
||||
"exp": 61
|
||||
},
|
||||
{
|
||||
"id": 62,
|
||||
"exp": 62
|
||||
},
|
||||
{
|
||||
"id": 63,
|
||||
"exp": 63
|
||||
},
|
||||
{
|
||||
"id": 64,
|
||||
"exp": 64
|
||||
},
|
||||
{
|
||||
"id": 65,
|
||||
"exp": 65
|
||||
},
|
||||
{
|
||||
"id": 66,
|
||||
"exp": 66
|
||||
},
|
||||
{
|
||||
"id": 67,
|
||||
"exp": 67
|
||||
},
|
||||
{
|
||||
"id": 68,
|
||||
"exp": 68
|
||||
},
|
||||
{
|
||||
"id": 69,
|
||||
"exp": 69
|
||||
},
|
||||
{
|
||||
"id": 70,
|
||||
"exp": 70
|
||||
},
|
||||
{
|
||||
"id": 71,
|
||||
"exp": 71
|
||||
},
|
||||
{
|
||||
"id": 72,
|
||||
"exp": 72
|
||||
},
|
||||
{
|
||||
"id": 73,
|
||||
"exp": 73
|
||||
},
|
||||
{
|
||||
"id": 74,
|
||||
"exp": 74
|
||||
},
|
||||
{
|
||||
"id": 75,
|
||||
"exp": 75
|
||||
},
|
||||
{
|
||||
"id": 76,
|
||||
"exp": 76
|
||||
},
|
||||
{
|
||||
"id": 77,
|
||||
"exp": 77
|
||||
},
|
||||
{
|
||||
"id": 78,
|
||||
"exp": 78
|
||||
},
|
||||
{
|
||||
"id": 79,
|
||||
"exp": 79
|
||||
},
|
||||
{
|
||||
"id": 80,
|
||||
"exp": 80
|
||||
},
|
||||
{
|
||||
"id": 81,
|
||||
"exp": 81
|
||||
},
|
||||
{
|
||||
"id": 82,
|
||||
"exp": 82
|
||||
},
|
||||
{
|
||||
"id": 83,
|
||||
"exp": 83
|
||||
},
|
||||
{
|
||||
"id": 84,
|
||||
"exp": 84
|
||||
},
|
||||
{
|
||||
"id": 85,
|
||||
"exp": 85
|
||||
},
|
||||
{
|
||||
"id": 86,
|
||||
"exp": 86
|
||||
},
|
||||
{
|
||||
"id": 87,
|
||||
"exp": 87
|
||||
},
|
||||
{
|
||||
"id": 88,
|
||||
"exp": 88
|
||||
},
|
||||
{
|
||||
"id": 89,
|
||||
"exp": 89
|
||||
},
|
||||
{
|
||||
"id": 90,
|
||||
"exp": 90
|
||||
},
|
||||
{
|
||||
"id": 91,
|
||||
"exp": 91
|
||||
},
|
||||
{
|
||||
"id": 92,
|
||||
"exp": 92
|
||||
},
|
||||
{
|
||||
"id": 93,
|
||||
"exp": 93
|
||||
},
|
||||
{
|
||||
"id": 94,
|
||||
"exp": 94
|
||||
},
|
||||
{
|
||||
"id": 95,
|
||||
"exp": 95
|
||||
},
|
||||
{
|
||||
"id": 96,
|
||||
"exp": 96
|
||||
},
|
||||
{
|
||||
"id": 97,
|
||||
"exp": 97
|
||||
},
|
||||
{
|
||||
"id": 98,
|
||||
"exp": 98
|
||||
},
|
||||
{
|
||||
"id": 99,
|
||||
"exp": 99
|
||||
},
|
||||
{
|
||||
"id": 100,
|
||||
"exp": 100
|
||||
}
|
||||
]
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user