提交装备配置表

This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2024-01-07 17:37:55 +08:00
parent 2a02dc2914
commit 7aef36352a
20 changed files with 24681 additions and 473 deletions

View File

@@ -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)
}
}