mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
提交
This commit is contained in:
8
JNFrame2/Assets/HotScripts/GameScripts/Luban/Gen.meta
Normal file
8
JNFrame2/Assets/HotScripts/GameScripts/Luban/Gen.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 47e17cb7353420c4693cc1c59fa27173
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,69 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbBattleResource : Luban.BeanBase
|
||||
{
|
||||
public TbBattleResource(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Name = _buf.ReadString();
|
||||
Path = _buf.ReadString();
|
||||
Type = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TbBattleResource DeserializeTbBattleResource(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbBattleResource(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 资源介绍
|
||||
/// </summary>
|
||||
public readonly string Name;
|
||||
/// <summary>
|
||||
/// 资源路径
|
||||
/// </summary>
|
||||
public readonly string Path;
|
||||
/// <summary>
|
||||
/// 资源类型(0.Spine,1.Sprite)
|
||||
/// </summary>
|
||||
public readonly int Type;
|
||||
|
||||
public const int __ID__ = 509266580;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "name:" + Name + ","
|
||||
+ "path:" + Path + ","
|
||||
+ "type:" + Type + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 269fdd0480994954b821e0d976532cfb
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,62 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGAttribute : Luban.BeanBase
|
||||
{
|
||||
public TbGAttribute(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Name = _buf.ReadString();
|
||||
Sign = _buf.ReadString();
|
||||
}
|
||||
|
||||
public static TbGAttribute DeserializeTbGAttribute(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGAttribute(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 属性名称
|
||||
/// </summary>
|
||||
public readonly string Name;
|
||||
/// <summary>
|
||||
/// 属性标识
|
||||
/// </summary>
|
||||
public readonly string Sign;
|
||||
|
||||
public const int __ID__ = 1361501859;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "name:" + Name + ","
|
||||
+ "sign:" + Sign + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 93d90c0b22b82d24b8f407268302a13c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGAttributeFC : Luban.BeanBase
|
||||
{
|
||||
public TbGAttributeFC(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Value = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TbGAttributeFC DeserializeTbGAttributeFC(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGAttributeFC(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 对应属性Id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 战力
|
||||
/// </summary>
|
||||
public readonly int Value;
|
||||
|
||||
public const int __ID__ = -1561736544;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "value:" + Value + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f40024bbd6c040a4bb55d65974e29594
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,90 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGGift : Luban.BeanBase
|
||||
{
|
||||
public TbGGift(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Name = _buf.ReadString();
|
||||
Tig = _buf.ReadString();
|
||||
Limit = (TbGEnum.TGiftLimit)_buf.ReadInt();
|
||||
LimitValue = _buf.ReadInt();
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);Exchanges = new TbGEntity.TResource[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { TbGEntity.TResource __e0;__e0 = TbGEntity.TResource.DeserializeTResource(_buf); Exchanges[__index0] = __e0;}}
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);Rewards = new TbGEntity.TReward[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { TbGEntity.TReward __e0;__e0 = TbGEntity.TReward.DeserializeTReward(_buf); Rewards[__index0] = __e0;}}
|
||||
}
|
||||
|
||||
public static TbGGift DeserializeTbGGift(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGGift(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 礼包唯一Id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 礼包名称
|
||||
/// </summary>
|
||||
public readonly string Name;
|
||||
/// <summary>
|
||||
/// 描述
|
||||
/// </summary>
|
||||
public readonly string Tig;
|
||||
/// <summary>
|
||||
/// 礼包购买限制
|
||||
/// </summary>
|
||||
public readonly TbGEnum.TGiftLimit Limit;
|
||||
/// <summary>
|
||||
/// 限购数量
|
||||
/// </summary>
|
||||
public readonly int LimitValue;
|
||||
/// <summary>
|
||||
/// 兑换的资源
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TResource[] Exchanges;
|
||||
/// <summary>
|
||||
/// 奖励
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TReward[] Rewards;
|
||||
|
||||
public const int __ID__ = 319065289;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
foreach (var _e in Exchanges) { _e?.ResolveRef(tables); }
|
||||
foreach (var _e in Rewards) { _e?.ResolveRef(tables); }
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "name:" + Name + ","
|
||||
+ "tig:" + Tig + ","
|
||||
+ "limit:" + Limit + ","
|
||||
+ "limitValue:" + LimitValue + ","
|
||||
+ "exchanges:" + Luban.StringUtil.CollectionToString(Exchanges) + ","
|
||||
+ "rewards:" + Luban.StringUtil.CollectionToString(Rewards) + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c7cb2342c48155a49be45fd36bce4554
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,62 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGGlobal : Luban.BeanBase
|
||||
{
|
||||
public TbGGlobal(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Args = _buf.ReadString();
|
||||
Tig = _buf.ReadString();
|
||||
}
|
||||
|
||||
public static TbGGlobal DeserializeTbGGlobal(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGGlobal(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 全局表参数
|
||||
/// </summary>
|
||||
public readonly string Args;
|
||||
/// <summary>
|
||||
/// 描述
|
||||
/// </summary>
|
||||
public readonly string Tig;
|
||||
|
||||
public const int __ID__ = 1682089212;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "args:" + Args + ","
|
||||
+ "tig:" + Tig + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c248079d52dd8c04a8c70a13327bddc9
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
104
JNFrame2/Assets/HotScripts/GameScripts/Luban/Gen/TB.TbGMap.cs
Normal file
104
JNFrame2/Assets/HotScripts/GameScripts/Luban/Gen/TB.TbGMap.cs
Normal file
@@ -0,0 +1,104 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGMap : Luban.BeanBase
|
||||
{
|
||||
public TbGMap(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
MapName = _buf.ReadString();
|
||||
Map1 = _buf.ReadInt();
|
||||
Map2 = _buf.ReadInt();
|
||||
Map3 = _buf.ReadInt();
|
||||
Map1OffsetY = _buf.ReadInt();
|
||||
Map2OffsetY = _buf.ReadInt();
|
||||
Map3OffsetY = _buf.ReadInt();
|
||||
Scale = _buf.ReadFloat();
|
||||
}
|
||||
|
||||
public static TbGMap DeserializeTbGMap(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGMap(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 地图名称
|
||||
/// </summary>
|
||||
public readonly string MapName;
|
||||
/// <summary>
|
||||
/// 地图1(前)
|
||||
/// </summary>
|
||||
public readonly int Map1;
|
||||
/// <summary>
|
||||
/// 地图2(后)
|
||||
/// </summary>
|
||||
public readonly int Map2;
|
||||
/// <summary>
|
||||
/// 地图3(天空)
|
||||
/// </summary>
|
||||
public readonly int Map3;
|
||||
/// <summary>
|
||||
/// 地图1(前) 偏移量Y
|
||||
/// </summary>
|
||||
public readonly int Map1OffsetY;
|
||||
/// <summary>
|
||||
/// 地图2(后) 偏移量Y
|
||||
/// </summary>
|
||||
public readonly int Map2OffsetY;
|
||||
/// <summary>
|
||||
/// 地图2(后) 偏移量Y
|
||||
/// </summary>
|
||||
public readonly int Map3OffsetY;
|
||||
/// <summary>
|
||||
/// 地图缩放
|
||||
/// </summary>
|
||||
public readonly float Scale;
|
||||
|
||||
public const int __ID__ = -2067912029;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "mapName:" + MapName + ","
|
||||
+ "map1:" + Map1 + ","
|
||||
+ "map2:" + Map2 + ","
|
||||
+ "map3:" + Map3 + ","
|
||||
+ "map1OffsetY:" + Map1OffsetY + ","
|
||||
+ "map2OffsetY:" + Map2OffsetY + ","
|
||||
+ "map3OffsetY:" + Map3OffsetY + ","
|
||||
+ "scale:" + Scale + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dd40852a212b7a4499d55dc2e3d7956a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,62 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGOnHookGlobal : Luban.BeanBase
|
||||
{
|
||||
public TbGOnHookGlobal(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Args = _buf.ReadString();
|
||||
Tig = _buf.ReadString();
|
||||
}
|
||||
|
||||
public static TbGOnHookGlobal DeserializeTbGOnHookGlobal(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGOnHookGlobal(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 全局表参数
|
||||
/// </summary>
|
||||
public readonly string Args;
|
||||
/// <summary>
|
||||
/// 描述
|
||||
/// </summary>
|
||||
public readonly string Tig;
|
||||
|
||||
public const int __ID__ = -340649858;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "args:" + Args + ","
|
||||
+ "tig:" + Tig + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 90a987e35d9735d4eb277a148dc9482a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGOnHookMap120001 : Luban.BeanBase
|
||||
{
|
||||
public TbGOnHookMap120001(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Data = TbGEntity.TOnHookLevel.DeserializeTOnHookLevel(_buf);
|
||||
}
|
||||
|
||||
public static TbGOnHookMap120001 DeserializeTbGOnHookMap120001(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGOnHookMap120001(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 关卡等级
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TOnHookLevel Data;
|
||||
|
||||
public const int __ID__ = 196461379;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
Data?.ResolveRef(tables);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "data:" + Data + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f10828747f28eec4c87dc00d1e251b15
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,90 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGOnHookMaps : Luban.BeanBase
|
||||
{
|
||||
public TbGOnHookMaps(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Name = _buf.ReadString();
|
||||
MapImage = _buf.ReadString();
|
||||
MapId = _buf.ReadInt();
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);PetIds = new int[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { int __e0;__e0 = _buf.ReadInt(); PetIds[__index0] = __e0;}}
|
||||
Sign = _buf.ReadString();
|
||||
Introduce = _buf.ReadString();
|
||||
}
|
||||
|
||||
public static TbGOnHookMaps DeserializeTbGOnHookMaps(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGOnHookMaps(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 地图名称
|
||||
/// </summary>
|
||||
public readonly string Name;
|
||||
/// <summary>
|
||||
/// 地图图片
|
||||
/// </summary>
|
||||
public readonly string MapImage;
|
||||
/// <summary>
|
||||
/// 地图场景Id
|
||||
/// </summary>
|
||||
public readonly int MapId;
|
||||
/// <summary>
|
||||
/// 地图上的宠物列表
|
||||
/// </summary>
|
||||
public readonly int[] PetIds;
|
||||
/// <summary>
|
||||
/// 地图标识(一般是地图的类名)
|
||||
/// </summary>
|
||||
public readonly string Sign;
|
||||
/// <summary>
|
||||
/// 地图介绍
|
||||
/// </summary>
|
||||
public readonly string Introduce;
|
||||
|
||||
public const int __ID__ = 1197577778;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "name:" + Name + ","
|
||||
+ "mapImage:" + MapImage + ","
|
||||
+ "mapId:" + MapId + ","
|
||||
+ "petIds:" + Luban.StringUtil.CollectionToString(PetIds) + ","
|
||||
+ "sign:" + Sign + ","
|
||||
+ "introduce:" + Introduce + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6e9367d3f2f5ddf4c8683d2e7b258f01
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,83 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGResource : Luban.BeanBase
|
||||
{
|
||||
public TbGResource(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Icon = _buf.ReadString();
|
||||
Name = _buf.ReadString();
|
||||
Tig = _buf.ReadString();
|
||||
Args = _buf.ReadString();
|
||||
Quality = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TbGResource DeserializeTbGResource(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGResource(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 资源图片
|
||||
/// </summary>
|
||||
public readonly string Icon;
|
||||
/// <summary>
|
||||
/// 资源名称
|
||||
/// </summary>
|
||||
public readonly string Name;
|
||||
/// <summary>
|
||||
/// 描述
|
||||
/// </summary>
|
||||
public readonly string Tig;
|
||||
/// <summary>
|
||||
/// 额外参数
|
||||
/// </summary>
|
||||
public readonly string Args;
|
||||
/// <summary>
|
||||
/// 资源品质
|
||||
/// </summary>
|
||||
public readonly int Quality;
|
||||
|
||||
public const int __ID__ = 1780642599;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "icon:" + Icon + ","
|
||||
+ "name:" + Name + ","
|
||||
+ "tig:" + Tig + ","
|
||||
+ "args:" + Args + ","
|
||||
+ "quality:" + Quality + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e9e46e03e53aab74da01c3271074361b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,90 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGRole : Luban.BeanBase
|
||||
{
|
||||
public TbGRole(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
RoleName = _buf.ReadString();
|
||||
Spine = _buf.ReadInt();
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);RoleSkillIds = new int[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { int __e0;__e0 = _buf.ReadInt(); RoleSkillIds[__index0] = __e0;}}
|
||||
RoleAttackRange = _buf.ReadInt();
|
||||
RoleHight = _buf.ReadInt();
|
||||
RoleScale = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TbGRole DeserializeTbGRole(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGRole(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 角色名称
|
||||
/// </summary>
|
||||
public readonly string RoleName;
|
||||
/// <summary>
|
||||
/// 角色Spine资源Id
|
||||
/// </summary>
|
||||
public readonly int Spine;
|
||||
/// <summary>
|
||||
/// 角色技能Id列表
|
||||
/// </summary>
|
||||
public readonly int[] RoleSkillIds;
|
||||
/// <summary>
|
||||
/// 角色攻击范围
|
||||
/// </summary>
|
||||
public readonly int RoleAttackRange;
|
||||
/// <summary>
|
||||
/// 角色高度
|
||||
/// </summary>
|
||||
public readonly int RoleHight;
|
||||
/// <summary>
|
||||
/// 宠物默认缩放
|
||||
/// </summary>
|
||||
public readonly int RoleScale;
|
||||
|
||||
public const int __ID__ = 319398927;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "roleName:" + RoleName + ","
|
||||
+ "spine:" + Spine + ","
|
||||
+ "roleSkillIds:" + Luban.StringUtil.CollectionToString(RoleSkillIds) + ","
|
||||
+ "roleAttackRange:" + RoleAttackRange + ","
|
||||
+ "roleHight:" + RoleHight + ","
|
||||
+ "roleScale:" + RoleScale + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 53f8d3d4cbdff6946a731cee6995e3dd
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,62 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGRoleAttack : Luban.BeanBase
|
||||
{
|
||||
public TbGRoleAttack(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
AttackWay = _buf.ReadString();
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);AttackArgs = new string[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { string __e0;__e0 = _buf.ReadString(); AttackArgs[__index0] = __e0;}}
|
||||
}
|
||||
|
||||
public static TbGRoleAttack DeserializeTbGRoleAttack(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGRoleAttack(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 角色Id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 攻击方式
|
||||
/// </summary>
|
||||
public readonly string AttackWay;
|
||||
/// <summary>
|
||||
/// 攻击参数
|
||||
/// </summary>
|
||||
public readonly string[] AttackArgs;
|
||||
|
||||
public const int __ID__ = -180357321;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "attackWay:" + AttackWay + ","
|
||||
+ "attackArgs:" + Luban.StringUtil.CollectionToString(AttackArgs) + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 81ec15b4e0033a04f9bf0afc57d00f75
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,69 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGRoleBaseAttribute : Luban.BeanBase
|
||||
{
|
||||
public TbGRoleBaseAttribute(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Blood = _buf.ReadInt();
|
||||
Attack = _buf.ReadInt();
|
||||
Defend = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TbGRoleBaseAttribute DeserializeTbGRoleBaseAttribute(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGRoleBaseAttribute(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 角色Id (0 则默认)
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 默认血量
|
||||
/// </summary>
|
||||
public readonly int Blood;
|
||||
/// <summary>
|
||||
/// 默认攻击属性
|
||||
/// </summary>
|
||||
public readonly int Attack;
|
||||
/// <summary>
|
||||
/// 默认防御属性
|
||||
/// </summary>
|
||||
public readonly int Defend;
|
||||
|
||||
public const int __ID__ = 1489419004;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "Blood:" + Blood + ","
|
||||
+ "Attack:" + Attack + ","
|
||||
+ "Defend:" + Defend + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d66af7acd0c37d140bed72832b9abd5e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,111 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGRoleEquip : Luban.BeanBase
|
||||
{
|
||||
public TbGRoleEquip(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Name = _buf.ReadString();
|
||||
Position = _buf.ReadInt();
|
||||
Quality = _buf.ReadInt();
|
||||
Icon = _buf.ReadString();
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);LevelBaseAttributesFactors = new int[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { int __e0;__e0 = _buf.ReadInt(); LevelBaseAttributesFactors[__index0] = __e0;}}
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);BaseAttributes = new TbGEntity.TAttributeValue[__n0][];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { TbGEntity.TAttributeValue[] __e0;{int __n1 = System.Math.Min(_buf.ReadSize(), _buf.Size);__e0 = new TbGEntity.TAttributeValue[__n1];for(var __index1 = 0 ; __index1 < __n1 ; __index1++) { TbGEntity.TAttributeValue __e1;__e1 = TbGEntity.TAttributeValue.DeserializeTAttributeValue(_buf); __e0[__index1] = __e1;}} BaseAttributes[__index0] = __e0;}}
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);LevelHighAttributesFactors = new int[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { int __e0;__e0 = _buf.ReadInt(); LevelHighAttributesFactors[__index0] = __e0;}}
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);HighAttributes = new TbGEntity.TAttributeValue[__n0][];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { TbGEntity.TAttributeValue[] __e0;{int __n1 = System.Math.Min(_buf.ReadSize(), _buf.Size);__e0 = new TbGEntity.TAttributeValue[__n1];for(var __index1 = 0 ; __index1 < __n1 ; __index1++) { TbGEntity.TAttributeValue __e1;__e1 = TbGEntity.TAttributeValue.DeserializeTAttributeValue(_buf); __e0[__index1] = __e1;}} HighAttributes[__index0] = __e0;}}
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);HighAttributeSize = new int[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { int __e0;__e0 = _buf.ReadInt(); HighAttributeSize[__index0] = __e0;}}
|
||||
}
|
||||
|
||||
public static TbGRoleEquip DeserializeTbGRoleEquip(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGRoleEquip(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 装备名称
|
||||
/// </summary>
|
||||
public readonly string Name;
|
||||
/// <summary>
|
||||
/// 装备类别(1=武器/2=帽子/3=项链/4=护肩/5=衣服/6=腰带/7=手套/8=戒指/9=裤子/10=鞋子)
|
||||
/// </summary>
|
||||
public readonly int Position;
|
||||
/// <summary>
|
||||
/// 品质信息
|
||||
/// </summary>
|
||||
public readonly int Quality;
|
||||
/// <summary>
|
||||
/// 图片
|
||||
/// </summary>
|
||||
public readonly string Icon;
|
||||
/// <summary>
|
||||
/// 基础等级属性系数 (属性 * (等级 * 系数))
|
||||
/// </summary>
|
||||
public readonly int[] LevelBaseAttributesFactors;
|
||||
/// <summary>
|
||||
/// 基础属性(value - value 区间)
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TAttributeValue[][] BaseAttributes;
|
||||
/// <summary>
|
||||
/// 高级等级属性系数 (属性 * (等级 * 系数))
|
||||
/// </summary>
|
||||
public readonly int[] LevelHighAttributesFactors;
|
||||
/// <summary>
|
||||
/// 高级属性(value - value 区间)
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TAttributeValue[][] HighAttributes;
|
||||
/// <summary>
|
||||
/// 高级词条随机数量
|
||||
/// </summary>
|
||||
public readonly int[] HighAttributeSize;
|
||||
|
||||
public const int __ID__ = 1660355937;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "name:" + Name + ","
|
||||
+ "position:" + Position + ","
|
||||
+ "quality:" + Quality + ","
|
||||
+ "icon:" + Icon + ","
|
||||
+ "levelBaseAttributesFactors:" + Luban.StringUtil.CollectionToString(LevelBaseAttributesFactors) + ","
|
||||
+ "baseAttributes:" + Luban.StringUtil.CollectionToString(BaseAttributes) + ","
|
||||
+ "levelHighAttributesFactors:" + Luban.StringUtil.CollectionToString(LevelHighAttributesFactors) + ","
|
||||
+ "highAttributes:" + Luban.StringUtil.CollectionToString(HighAttributes) + ","
|
||||
+ "highAttributeSize:" + Luban.StringUtil.CollectionToString(HighAttributeSize) + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 81aaa72a16579a34791741bb4bf6a7c3
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGRoleEquipLevel : Luban.BeanBase
|
||||
{
|
||||
public TbGRoleEquipLevel(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Exp = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TbGRoleEquipLevel DeserializeTbGRoleEquipLevel(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGRoleEquipLevel(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 锻造的装备等级
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 所需经验
|
||||
/// </summary>
|
||||
public readonly int Exp;
|
||||
|
||||
public const int __ID__ = 294181539;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "exp:" + Exp + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a5be6579ee27d70408a34ec4eaff2f17
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,76 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGRoleEquipQuality : Luban.BeanBase
|
||||
{
|
||||
public TbGRoleEquipQuality(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);Odds = new int[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { int __e0;__e0 = _buf.ReadInt(); Odds[__index0] = __e0;}}
|
||||
Total = _buf.ReadInt();
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);Materials = new TbGEntity.TResource[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { TbGEntity.TResource __e0;__e0 = TbGEntity.TResource.DeserializeTResource(_buf); Materials[__index0] = __e0;}}
|
||||
UpTime = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TbGRoleEquipQuality DeserializeTbGRoleEquipQuality(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGRoleEquipQuality(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 锻造品质等级
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 品质出现的概率
|
||||
/// </summary>
|
||||
public readonly int[] Odds;
|
||||
/// <summary>
|
||||
/// 总概率
|
||||
/// </summary>
|
||||
public readonly int Total;
|
||||
/// <summary>
|
||||
/// 升级消耗的材料
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TResource[] Materials;
|
||||
/// <summary>
|
||||
/// 升级所需时间(s)
|
||||
/// </summary>
|
||||
public readonly int UpTime;
|
||||
|
||||
public const int __ID__ = -177949602;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
foreach (var _e in Materials) { _e?.ResolveRef(tables); }
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "odds:" + Luban.StringUtil.CollectionToString(Odds) + ","
|
||||
+ "total:" + Total + ","
|
||||
+ "materials:" + Luban.StringUtil.CollectionToString(Materials) + ","
|
||||
+ "upTime:" + UpTime + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6d4a1cbf8a1a63d49b74b884ec5b888f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGRoleEquipType : Luban.BeanBase
|
||||
{
|
||||
public TbGRoleEquipType(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Name = _buf.ReadString();
|
||||
}
|
||||
|
||||
public static TbGRoleEquipType DeserializeTbGRoleEquipType(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGRoleEquipType(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 类型Id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public readonly string Name;
|
||||
|
||||
public const int __ID__ = 1533767739;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "name:" + Name + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6a41b2e385bf7944ab6698899d3d896c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,76 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGRoleSkill : Luban.BeanBase
|
||||
{
|
||||
public TbGRoleSkill(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
SkillName = _buf.ReadString();
|
||||
SkillController = _buf.ReadString();
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);SkillArgs = new string[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { string __e0;__e0 = _buf.ReadString(); SkillArgs[__index0] = __e0;}}
|
||||
SkillText = _buf.ReadString();
|
||||
}
|
||||
|
||||
public static TbGRoleSkill DeserializeTbGRoleSkill(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGRoleSkill(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 角色Id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 技能名称
|
||||
/// </summary>
|
||||
public readonly string SkillName;
|
||||
/// <summary>
|
||||
/// 技能控制器
|
||||
/// </summary>
|
||||
public readonly string SkillController;
|
||||
/// <summary>
|
||||
/// 技能参数
|
||||
/// </summary>
|
||||
public readonly string[] SkillArgs;
|
||||
/// <summary>
|
||||
/// 技能介绍
|
||||
/// </summary>
|
||||
public readonly string SkillText;
|
||||
|
||||
public const int __ID__ = 1673095042;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "skillName:" + SkillName + ","
|
||||
+ "skillController:" + SkillController + ","
|
||||
+ "skillArgs:" + Luban.StringUtil.CollectionToString(SkillArgs) + ","
|
||||
+ "skillText:" + SkillText + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3bd10375ccefaed459330601a0837cba
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,69 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGRoleUpGrow : Luban.BeanBase
|
||||
{
|
||||
public TbGRoleUpGrow(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Blood = _buf.ReadInt();
|
||||
Attack = _buf.ReadInt();
|
||||
Defend = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TbGRoleUpGrow DeserializeTbGRoleUpGrow(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGRoleUpGrow(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 角色Id (0 则默认)
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 血量成长
|
||||
/// </summary>
|
||||
public readonly int Blood;
|
||||
/// <summary>
|
||||
/// 攻击成长
|
||||
/// </summary>
|
||||
public readonly int Attack;
|
||||
/// <summary>
|
||||
/// 防御成长
|
||||
/// </summary>
|
||||
public readonly int Defend;
|
||||
|
||||
public const int __ID__ = 387207741;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "Blood:" + Blood + ","
|
||||
+ "Attack:" + Attack + ","
|
||||
+ "Defend:" + Defend + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 70652578842c30b409213ffb23957cc2
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGRoleUpStar : Luban.BeanBase
|
||||
{
|
||||
public TbGRoleUpStar(ByteBuf _buf)
|
||||
{
|
||||
Grade = _buf.ReadInt();
|
||||
Merge = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TbGRoleUpStar DeserializeTbGRoleUpStar(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGRoleUpStar(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 宠物星级
|
||||
/// </summary>
|
||||
public readonly int Grade;
|
||||
/// <summary>
|
||||
/// 合成数量
|
||||
/// </summary>
|
||||
public readonly int Merge;
|
||||
|
||||
public const int __ID__ = 387566716;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "grade:" + Grade + ","
|
||||
+ "merge:" + Merge + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fba718ac73e5c4b49914ba0ba34f7e4c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,62 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGShop : Luban.BeanBase
|
||||
{
|
||||
public TbGShop(ByteBuf _buf)
|
||||
{
|
||||
Tig = _buf.ReadString();
|
||||
GiftId = _buf.ReadInt();
|
||||
Type = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TbGShop DeserializeTbGShop(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGShop(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public readonly string Tig;
|
||||
/// <summary>
|
||||
/// 礼包Id
|
||||
/// </summary>
|
||||
public readonly int GiftId;
|
||||
/// <summary>
|
||||
/// 0.点卷商店 1.金币商店
|
||||
/// </summary>
|
||||
public readonly int Type;
|
||||
|
||||
public const int __ID__ = 319422095;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "tig:" + Tig + ","
|
||||
+ "giftId:" + GiftId + ","
|
||||
+ "type:" + Type + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 185b740c1bec6b2439a1669a5d223f3d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,83 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGSysDungeon : Luban.BeanBase
|
||||
{
|
||||
public TbGSysDungeon(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Name = _buf.ReadString();
|
||||
Banner = _buf.ReadString();
|
||||
Type = _buf.ReadString();
|
||||
Tigs = _buf.ReadString();
|
||||
Consume = TbGEntity.TResource.DeserializeTResource(_buf);
|
||||
}
|
||||
|
||||
public static TbGSysDungeon DeserializeTbGSysDungeon(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGSysDungeon(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 副本名称
|
||||
/// </summary>
|
||||
public readonly string Name;
|
||||
/// <summary>
|
||||
/// 副本封面
|
||||
/// </summary>
|
||||
public readonly string Banner;
|
||||
/// <summary>
|
||||
/// 游戏模式
|
||||
/// </summary>
|
||||
public readonly string Type;
|
||||
/// <summary>
|
||||
/// 类标识
|
||||
/// </summary>
|
||||
public readonly string Tigs;
|
||||
/// <summary>
|
||||
/// 消耗资源
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TResource Consume;
|
||||
|
||||
public const int __ID__ = 303165446;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Consume?.ResolveRef(tables);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "name:" + Name + ","
|
||||
+ "banner:" + Banner + ","
|
||||
+ "type:" + Type + ","
|
||||
+ "tigs:" + Tigs + ","
|
||||
+ "consume:" + Consume + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 38b73c3996b4b46448d308e3e25ce3b7
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGSysDungeon160001 : Luban.BeanBase
|
||||
{
|
||||
public TbGSysDungeon160001(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Data = TbGEntity.TDungeon.DeserializeTDungeon(_buf);
|
||||
}
|
||||
|
||||
public static TbGSysDungeon160001 DeserializeTbGSysDungeon160001(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGSysDungeon160001(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 副本关卡
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TDungeon Data;
|
||||
|
||||
public const int __ID__ = -319796436;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
Data?.ResolveRef(tables);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "data:" + Data + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f29513a2a6ee3c748bc3be829d45115b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbGSysDungeon160002 : Luban.BeanBase
|
||||
{
|
||||
public TbGSysDungeon160002(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Data = TbGEntity.TDungeon.DeserializeTDungeon(_buf);
|
||||
}
|
||||
|
||||
public static TbGSysDungeon160002 DeserializeTbGSysDungeon160002(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbGSysDungeon160002(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 副本关卡
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TDungeon Data;
|
||||
|
||||
public const int __ID__ = -319796435;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
Data?.ResolveRef(tables);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "data:" + Data + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cd3e8d7e26fa5e24aadc91f0aee48d8c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,62 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TB
|
||||
{
|
||||
public sealed partial class TbSServerInfo : Luban.BeanBase
|
||||
{
|
||||
public TbSServerInfo(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Args = _buf.ReadString();
|
||||
Tig = _buf.ReadString();
|
||||
}
|
||||
|
||||
public static TbSServerInfo DeserializeTbSServerInfo(ByteBuf _buf)
|
||||
{
|
||||
return new TB.TbSServerInfo(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 全局表参数
|
||||
/// </summary>
|
||||
public readonly string Args;
|
||||
/// <summary>
|
||||
/// 描述
|
||||
/// </summary>
|
||||
public readonly string Tig;
|
||||
|
||||
public const int __ID__ = 1231379574;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "args:" + Args + ","
|
||||
+ "tig:" + Tig + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 71d0fbb35928b3f4db942b7da353a21b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
102
JNFrame2/Assets/HotScripts/GameScripts/Luban/Gen/Tables.cs
Normal file
102
JNFrame2/Assets/HotScripts/GameScripts/Luban/Gen/Tables.cs
Normal file
@@ -0,0 +1,102 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class Tables
|
||||
{
|
||||
public TbGGlobal TbGGlobal {get; }
|
||||
public TbGRole TbGRole {get; }
|
||||
public TbGRoleAttack TbGRoleAttack {get; }
|
||||
public TbGRoleSkill TbGRoleSkill {get; }
|
||||
public TbGMap TbGMap {get; }
|
||||
public TbGOnHookGlobal TbGOnHookGlobal {get; }
|
||||
public TbGResource TbGResource {get; }
|
||||
public TbGRoleUpStar TbGRoleUpStar {get; }
|
||||
public TbGRoleUpGrow TbGRoleUpGrow {get; }
|
||||
public TbSServerInfo TbSServerInfo {get; }
|
||||
public TbGAttribute TbGAttribute {get; }
|
||||
public TbGAttributeFC TbGAttributeFC {get; }
|
||||
public TbGRoleBaseAttribute TbGRoleBaseAttribute {get; }
|
||||
public TbGOnHookMaps TbGOnHookMaps {get; }
|
||||
public TbGOnHookMap120001 TbGOnHookMap120001 {get; }
|
||||
public TbBattleResource TbBattleResource {get; }
|
||||
public TbGRoleEquip TbGRoleEquip {get; }
|
||||
public TbGRoleEquipLevel TbGRoleEquipLevel {get; }
|
||||
public TbGRoleEquipQuality TbGRoleEquipQuality {get; }
|
||||
public TbGRoleEquipType TbGRoleEquipType {get; }
|
||||
public TbGSysDungeon TbGSysDungeon {get; }
|
||||
public TbGSysDungeon160001 TbGSysDungeon160001 {get; }
|
||||
public TbGSysDungeon160002 TbGSysDungeon160002 {get; }
|
||||
public TbGGift TbGGift {get; }
|
||||
public TbGShop TbGShop {get; }
|
||||
|
||||
public Tables(System.Func<string, ByteBuf> loader)
|
||||
{
|
||||
TbGGlobal = new TbGGlobal(loader("tbgglobal"));
|
||||
TbGRole = new TbGRole(loader("tbgrole"));
|
||||
TbGRoleAttack = new TbGRoleAttack(loader("tbgroleattack"));
|
||||
TbGRoleSkill = new TbGRoleSkill(loader("tbgroleskill"));
|
||||
TbGMap = new TbGMap(loader("tbgmap"));
|
||||
TbGOnHookGlobal = new TbGOnHookGlobal(loader("tbgonhookglobal"));
|
||||
TbGResource = new TbGResource(loader("tbgresource"));
|
||||
TbGRoleUpStar = new TbGRoleUpStar(loader("tbgroleupstar"));
|
||||
TbGRoleUpGrow = new TbGRoleUpGrow(loader("tbgroleupgrow"));
|
||||
TbSServerInfo = new TbSServerInfo(loader("tbsserverinfo"));
|
||||
TbGAttribute = new TbGAttribute(loader("tbgattribute"));
|
||||
TbGAttributeFC = new TbGAttributeFC(loader("tbgattributefc"));
|
||||
TbGRoleBaseAttribute = new TbGRoleBaseAttribute(loader("tbgrolebaseattribute"));
|
||||
TbGOnHookMaps = new TbGOnHookMaps(loader("tbgonhookmaps"));
|
||||
TbGOnHookMap120001 = new TbGOnHookMap120001(loader("tbgonhookmap120001"));
|
||||
TbBattleResource = new TbBattleResource(loader("tbbattleresource"));
|
||||
TbGRoleEquip = new TbGRoleEquip(loader("tbgroleequip"));
|
||||
TbGRoleEquipLevel = new TbGRoleEquipLevel(loader("tbgroleequiplevel"));
|
||||
TbGRoleEquipQuality = new TbGRoleEquipQuality(loader("tbgroleequipquality"));
|
||||
TbGRoleEquipType = new TbGRoleEquipType(loader("tbgroleequiptype"));
|
||||
TbGSysDungeon = new TbGSysDungeon(loader("tbgsysdungeon"));
|
||||
TbGSysDungeon160001 = new TbGSysDungeon160001(loader("tbgsysdungeon160001"));
|
||||
TbGSysDungeon160002 = new TbGSysDungeon160002(loader("tbgsysdungeon160002"));
|
||||
TbGGift = new TbGGift(loader("tbggift"));
|
||||
TbGShop = new TbGShop(loader("tbgshop"));
|
||||
ResolveRef();
|
||||
}
|
||||
|
||||
private void ResolveRef()
|
||||
{
|
||||
TbGGlobal.ResolveRef(this);
|
||||
TbGRole.ResolveRef(this);
|
||||
TbGRoleAttack.ResolveRef(this);
|
||||
TbGRoleSkill.ResolveRef(this);
|
||||
TbGMap.ResolveRef(this);
|
||||
TbGOnHookGlobal.ResolveRef(this);
|
||||
TbGResource.ResolveRef(this);
|
||||
TbGRoleUpStar.ResolveRef(this);
|
||||
TbGRoleUpGrow.ResolveRef(this);
|
||||
TbSServerInfo.ResolveRef(this);
|
||||
TbGAttribute.ResolveRef(this);
|
||||
TbGAttributeFC.ResolveRef(this);
|
||||
TbGRoleBaseAttribute.ResolveRef(this);
|
||||
TbGOnHookMaps.ResolveRef(this);
|
||||
TbGOnHookMap120001.ResolveRef(this);
|
||||
TbBattleResource.ResolveRef(this);
|
||||
TbGRoleEquip.ResolveRef(this);
|
||||
TbGRoleEquipLevel.ResolveRef(this);
|
||||
TbGRoleEquipQuality.ResolveRef(this);
|
||||
TbGRoleEquipType.ResolveRef(this);
|
||||
TbGSysDungeon.ResolveRef(this);
|
||||
TbGSysDungeon160001.ResolveRef(this);
|
||||
TbGSysDungeon160002.ResolveRef(this);
|
||||
TbGGift.ResolveRef(this);
|
||||
TbGShop.ResolveRef(this);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0aa0a9fcf75f7164e961ed5fc4db9cdd
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbBattleResource
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbBattleResource> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbBattleResource> _dataList;
|
||||
|
||||
public TbBattleResource(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbBattleResource>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbBattleResource>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbBattleResource _v;
|
||||
_v = TB.TbBattleResource.DeserializeTbBattleResource(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbBattleResource> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbBattleResource> DataList => _dataList;
|
||||
|
||||
public TB.TbBattleResource GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbBattleResource Get(int key) => _dataMap[key];
|
||||
public TB.TbBattleResource this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 37b126234cd20cd468973a372b79e000
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbGAttribute
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbGAttribute> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbGAttribute> _dataList;
|
||||
|
||||
public TbGAttribute(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbGAttribute>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbGAttribute>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbGAttribute _v;
|
||||
_v = TB.TbGAttribute.DeserializeTbGAttribute(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbGAttribute> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbGAttribute> DataList => _dataList;
|
||||
|
||||
public TB.TbGAttribute GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbGAttribute Get(int key) => _dataMap[key];
|
||||
public TB.TbGAttribute this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a67d0f739bfc5c4448bda04c6374d133
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbGAttributeFC
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbGAttributeFC> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbGAttributeFC> _dataList;
|
||||
|
||||
public TbGAttributeFC(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbGAttributeFC>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbGAttributeFC>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbGAttributeFC _v;
|
||||
_v = TB.TbGAttributeFC.DeserializeTbGAttributeFC(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbGAttributeFC> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbGAttributeFC> DataList => _dataList;
|
||||
|
||||
public TB.TbGAttributeFC GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbGAttributeFC Get(int key) => _dataMap[key];
|
||||
public TB.TbGAttributeFC this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bbc0f3c8bd33fd746ae194dce0eb0df6
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,58 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TbGEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 属性
|
||||
/// </summary>
|
||||
public sealed partial class TAttributeValue : Luban.BeanBase
|
||||
{
|
||||
public TAttributeValue(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Value = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TAttributeValue DeserializeTAttributeValue(ByteBuf _buf)
|
||||
{
|
||||
return new TbGEntity.TAttributeValue(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 属性Id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 属性值
|
||||
/// </summary>
|
||||
public readonly int Value;
|
||||
|
||||
public const int __ID__ = -308305801;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "value:" + Value + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6dc434aa4ec07cc478065c8b76e2416a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,72 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TbGEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 普通副本信息
|
||||
/// </summary>
|
||||
public sealed partial class TDungeon : Luban.BeanBase
|
||||
{
|
||||
public TDungeon(ByteBuf _buf)
|
||||
{
|
||||
Level = _buf.ReadInt();
|
||||
Boss = _buf.ReadInt();
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);Attributes = new TbGEntity.TAttributeValue[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { TbGEntity.TAttributeValue __e0;__e0 = TbGEntity.TAttributeValue.DeserializeTAttributeValue(_buf); Attributes[__index0] = __e0;}}
|
||||
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);Rewards = new TbGEntity.TReward[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { TbGEntity.TReward __e0;__e0 = TbGEntity.TReward.DeserializeTReward(_buf); Rewards[__index0] = __e0;}}
|
||||
}
|
||||
|
||||
public static TDungeon DeserializeTDungeon(ByteBuf _buf)
|
||||
{
|
||||
return new TbGEntity.TDungeon(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 副本关卡
|
||||
/// </summary>
|
||||
public readonly int Level;
|
||||
/// <summary>
|
||||
/// BOSS ID
|
||||
/// </summary>
|
||||
public readonly int Boss;
|
||||
/// <summary>
|
||||
/// BOSS 属性
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TAttributeValue[] Attributes;
|
||||
/// <summary>
|
||||
/// 关卡奖励
|
||||
/// </summary>
|
||||
public readonly TbGEntity.TReward[] Rewards;
|
||||
|
||||
public const int __ID__ = -191293256;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
foreach (var _e in Attributes) { _e?.ResolveRef(tables); }
|
||||
foreach (var _e in Rewards) { _e?.ResolveRef(tables); }
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "level:" + Level + ","
|
||||
+ "boss:" + Boss + ","
|
||||
+ "attributes:" + Luban.StringUtil.CollectionToString(Attributes) + ","
|
||||
+ "rewards:" + Luban.StringUtil.CollectionToString(Rewards) + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4b236481408407a4a9de0d6415a9a803
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,79 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TbGEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 无限模式关卡信息
|
||||
/// </summary>
|
||||
public sealed partial class TOnHookLevel : Luban.BeanBase
|
||||
{
|
||||
public TOnHookLevel(ByteBuf _buf)
|
||||
{
|
||||
Level = _buf.ReadInt();
|
||||
ChildLevel = _buf.ReadInt();
|
||||
PetLevel = _buf.ReadInt();
|
||||
PetSize = _buf.ReadInt();
|
||||
OddsId = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TOnHookLevel DeserializeTOnHookLevel(ByteBuf _buf)
|
||||
{
|
||||
return new TbGEntity.TOnHookLevel(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 关卡等级
|
||||
/// </summary>
|
||||
public readonly int Level;
|
||||
/// <summary>
|
||||
/// 子关卡等级
|
||||
/// </summary>
|
||||
public readonly int ChildLevel;
|
||||
/// <summary>
|
||||
/// 宠物等级
|
||||
/// </summary>
|
||||
public readonly int PetLevel;
|
||||
/// <summary>
|
||||
/// 宠物数量
|
||||
/// </summary>
|
||||
public readonly int PetSize;
|
||||
/// <summary>
|
||||
/// 概率Id
|
||||
/// </summary>
|
||||
public readonly int OddsId;
|
||||
|
||||
public const int __ID__ = 1503395840;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "level:" + Level + ","
|
||||
+ "childLevel:" + ChildLevel + ","
|
||||
+ "petLevel:" + PetLevel + ","
|
||||
+ "petSize:" + PetSize + ","
|
||||
+ "oddsId:" + OddsId + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 34933ca8e21a2cd49b5ef58db00b70b3
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,58 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TbGEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 资源信息
|
||||
/// </summary>
|
||||
public sealed partial class TResource : Luban.BeanBase
|
||||
{
|
||||
public TResource(ByteBuf _buf)
|
||||
{
|
||||
Id = _buf.ReadInt();
|
||||
Value = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TResource DeserializeTResource(ByteBuf _buf)
|
||||
{
|
||||
return new TbGEntity.TResource(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 资源Id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 资源数量
|
||||
/// </summary>
|
||||
public readonly int Value;
|
||||
|
||||
public const int __ID__ = 125240784;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "id:" + Id + ","
|
||||
+ "value:" + Value + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c262725be09a8a44eb3968b2562eb3f1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,65 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig.TbGEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 奖励信息
|
||||
/// </summary>
|
||||
public sealed partial class TReward : Luban.BeanBase
|
||||
{
|
||||
public TReward(ByteBuf _buf)
|
||||
{
|
||||
Type = (TbGEnum.TReward)_buf.ReadInt();
|
||||
Id = _buf.ReadInt();
|
||||
Value = _buf.ReadInt();
|
||||
}
|
||||
|
||||
public static TReward DeserializeTReward(ByteBuf _buf)
|
||||
{
|
||||
return new TbGEntity.TReward(_buf);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 奖励类型
|
||||
/// </summary>
|
||||
public readonly TbGEnum.TReward Type;
|
||||
/// <summary>
|
||||
/// 奖励Id
|
||||
/// </summary>
|
||||
public readonly int Id;
|
||||
/// <summary>
|
||||
/// 奖励数量
|
||||
/// </summary>
|
||||
public readonly int Value;
|
||||
|
||||
public const int __ID__ = 103029105;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "type:" + Type + ","
|
||||
+ "id:" + Id + ","
|
||||
+ "value:" + Value + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d7da8aa871fce294ab6f4829160b4253
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,34 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
namespace GameConfig.TbGEnum
|
||||
{
|
||||
/// <summary>
|
||||
/// 礼包限购类型
|
||||
/// </summary>
|
||||
public enum TGiftLimit
|
||||
{
|
||||
/// <summary>
|
||||
/// 无限购
|
||||
/// </summary>
|
||||
Unlimited = 1,
|
||||
/// <summary>
|
||||
/// 限制次数
|
||||
/// </summary>
|
||||
Limit = 2,
|
||||
/// <summary>
|
||||
/// 每天限制
|
||||
/// </summary>
|
||||
DayLimit = 3,
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fc0b08ce66e8e5a45bfddd2da84e33d8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,26 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
namespace GameConfig.TbGEnum
|
||||
{
|
||||
/// <summary>
|
||||
/// 奖励类型
|
||||
/// </summary>
|
||||
public enum TReward
|
||||
{
|
||||
/// <summary>
|
||||
/// 资源类型
|
||||
/// </summary>
|
||||
Resource = 1,
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c7ac017ede93fc64f8622dcefcdb0afa
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
52
JNFrame2/Assets/HotScripts/GameScripts/Luban/Gen/TbGGift.cs
Normal file
52
JNFrame2/Assets/HotScripts/GameScripts/Luban/Gen/TbGGift.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbGGift
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbGGift> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbGGift> _dataList;
|
||||
|
||||
public TbGGift(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbGGift>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbGGift>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbGGift _v;
|
||||
_v = TB.TbGGift.DeserializeTbGGift(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbGGift> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbGGift> DataList => _dataList;
|
||||
|
||||
public TB.TbGGift GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbGGift Get(int key) => _dataMap[key];
|
||||
public TB.TbGGift this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 500b340c00c90b84798f53fbdefda387
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbGGlobal
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbGGlobal> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbGGlobal> _dataList;
|
||||
|
||||
public TbGGlobal(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbGGlobal>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbGGlobal>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbGGlobal _v;
|
||||
_v = TB.TbGGlobal.DeserializeTbGGlobal(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbGGlobal> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbGGlobal> DataList => _dataList;
|
||||
|
||||
public TB.TbGGlobal GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbGGlobal Get(int key) => _dataMap[key];
|
||||
public TB.TbGGlobal this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9f5a9c82c0ff4e14fa7fc752ea9b819e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
52
JNFrame2/Assets/HotScripts/GameScripts/Luban/Gen/TbGMap.cs
Normal file
52
JNFrame2/Assets/HotScripts/GameScripts/Luban/Gen/TbGMap.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbGMap
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbGMap> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbGMap> _dataList;
|
||||
|
||||
public TbGMap(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbGMap>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbGMap>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbGMap _v;
|
||||
_v = TB.TbGMap.DeserializeTbGMap(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbGMap> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbGMap> DataList => _dataList;
|
||||
|
||||
public TB.TbGMap GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbGMap Get(int key) => _dataMap[key];
|
||||
public TB.TbGMap this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d84e2142367d5474aafb8701d0a9429c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbGOnHookGlobal
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbGOnHookGlobal> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbGOnHookGlobal> _dataList;
|
||||
|
||||
public TbGOnHookGlobal(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbGOnHookGlobal>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbGOnHookGlobal>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbGOnHookGlobal _v;
|
||||
_v = TB.TbGOnHookGlobal.DeserializeTbGOnHookGlobal(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbGOnHookGlobal> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbGOnHookGlobal> DataList => _dataList;
|
||||
|
||||
public TB.TbGOnHookGlobal GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbGOnHookGlobal Get(int key) => _dataMap[key];
|
||||
public TB.TbGOnHookGlobal this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3261daf3fa0958140ad647d29f862a67
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbGOnHookMap120001
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbGOnHookMap120001> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbGOnHookMap120001> _dataList;
|
||||
|
||||
public TbGOnHookMap120001(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbGOnHookMap120001>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbGOnHookMap120001>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbGOnHookMap120001 _v;
|
||||
_v = TB.TbGOnHookMap120001.DeserializeTbGOnHookMap120001(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbGOnHookMap120001> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbGOnHookMap120001> DataList => _dataList;
|
||||
|
||||
public TB.TbGOnHookMap120001 GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbGOnHookMap120001 Get(int key) => _dataMap[key];
|
||||
public TB.TbGOnHookMap120001 this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f9bb06eabe4aeaf4a8fe83d29ccebd66
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbGOnHookMaps
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbGOnHookMaps> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbGOnHookMaps> _dataList;
|
||||
|
||||
public TbGOnHookMaps(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbGOnHookMaps>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbGOnHookMaps>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbGOnHookMaps _v;
|
||||
_v = TB.TbGOnHookMaps.DeserializeTbGOnHookMaps(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbGOnHookMaps> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbGOnHookMaps> DataList => _dataList;
|
||||
|
||||
public TB.TbGOnHookMaps GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbGOnHookMaps Get(int key) => _dataMap[key];
|
||||
public TB.TbGOnHookMaps this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7643286adf460ee47823be2740c79c24
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbGResource
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbGResource> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbGResource> _dataList;
|
||||
|
||||
public TbGResource(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbGResource>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbGResource>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbGResource _v;
|
||||
_v = TB.TbGResource.DeserializeTbGResource(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbGResource> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbGResource> DataList => _dataList;
|
||||
|
||||
public TB.TbGResource GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbGResource Get(int key) => _dataMap[key];
|
||||
public TB.TbGResource this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 19b76d6a15174d646a470d45bea49a5c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
52
JNFrame2/Assets/HotScripts/GameScripts/Luban/Gen/TbGRole.cs
Normal file
52
JNFrame2/Assets/HotScripts/GameScripts/Luban/Gen/TbGRole.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbGRole
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbGRole> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbGRole> _dataList;
|
||||
|
||||
public TbGRole(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbGRole>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbGRole>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbGRole _v;
|
||||
_v = TB.TbGRole.DeserializeTbGRole(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbGRole> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbGRole> DataList => _dataList;
|
||||
|
||||
public TB.TbGRole GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbGRole Get(int key) => _dataMap[key];
|
||||
public TB.TbGRole this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3af70e3663540ce41afb34c2bce61c03
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbGRoleAttack
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbGRoleAttack> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbGRoleAttack> _dataList;
|
||||
|
||||
public TbGRoleAttack(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbGRoleAttack>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbGRoleAttack>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbGRoleAttack _v;
|
||||
_v = TB.TbGRoleAttack.DeserializeTbGRoleAttack(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbGRoleAttack> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbGRoleAttack> DataList => _dataList;
|
||||
|
||||
public TB.TbGRoleAttack GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbGRoleAttack Get(int key) => _dataMap[key];
|
||||
public TB.TbGRoleAttack this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 014bd7dfd9bacef44980c8080cbb58bd
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbGRoleBaseAttribute
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbGRoleBaseAttribute> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbGRoleBaseAttribute> _dataList;
|
||||
|
||||
public TbGRoleBaseAttribute(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbGRoleBaseAttribute>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbGRoleBaseAttribute>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbGRoleBaseAttribute _v;
|
||||
_v = TB.TbGRoleBaseAttribute.DeserializeTbGRoleBaseAttribute(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbGRoleBaseAttribute> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbGRoleBaseAttribute> DataList => _dataList;
|
||||
|
||||
public TB.TbGRoleBaseAttribute GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbGRoleBaseAttribute Get(int key) => _dataMap[key];
|
||||
public TB.TbGRoleBaseAttribute this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3771cc34e5fe9af468af08d3c92eb728
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbGRoleEquip
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbGRoleEquip> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbGRoleEquip> _dataList;
|
||||
|
||||
public TbGRoleEquip(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbGRoleEquip>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbGRoleEquip>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbGRoleEquip _v;
|
||||
_v = TB.TbGRoleEquip.DeserializeTbGRoleEquip(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbGRoleEquip> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbGRoleEquip> DataList => _dataList;
|
||||
|
||||
public TB.TbGRoleEquip GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbGRoleEquip Get(int key) => _dataMap[key];
|
||||
public TB.TbGRoleEquip this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c3404ff7bf784f945bc5bc257b922238
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbGRoleEquipLevel
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbGRoleEquipLevel> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbGRoleEquipLevel> _dataList;
|
||||
|
||||
public TbGRoleEquipLevel(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbGRoleEquipLevel>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbGRoleEquipLevel>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbGRoleEquipLevel _v;
|
||||
_v = TB.TbGRoleEquipLevel.DeserializeTbGRoleEquipLevel(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbGRoleEquipLevel> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbGRoleEquipLevel> DataList => _dataList;
|
||||
|
||||
public TB.TbGRoleEquipLevel GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbGRoleEquipLevel Get(int key) => _dataMap[key];
|
||||
public TB.TbGRoleEquipLevel this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1fb4b03b860f06f41829d5b186886548
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbGRoleEquipQuality
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbGRoleEquipQuality> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbGRoleEquipQuality> _dataList;
|
||||
|
||||
public TbGRoleEquipQuality(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbGRoleEquipQuality>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbGRoleEquipQuality>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbGRoleEquipQuality _v;
|
||||
_v = TB.TbGRoleEquipQuality.DeserializeTbGRoleEquipQuality(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbGRoleEquipQuality> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbGRoleEquipQuality> DataList => _dataList;
|
||||
|
||||
public TB.TbGRoleEquipQuality GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbGRoleEquipQuality Get(int key) => _dataMap[key];
|
||||
public TB.TbGRoleEquipQuality this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 77da9f4b379f71f458cd34cce88def30
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -0,0 +1,52 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Luban;
|
||||
|
||||
|
||||
namespace GameConfig
|
||||
{
|
||||
public partial class TbGRoleEquipType
|
||||
{
|
||||
private readonly System.Collections.Generic.Dictionary<int, TB.TbGRoleEquipType> _dataMap;
|
||||
private readonly System.Collections.Generic.List<TB.TbGRoleEquipType> _dataList;
|
||||
|
||||
public TbGRoleEquipType(ByteBuf _buf)
|
||||
{
|
||||
_dataMap = new System.Collections.Generic.Dictionary<int, TB.TbGRoleEquipType>();
|
||||
_dataList = new System.Collections.Generic.List<TB.TbGRoleEquipType>();
|
||||
|
||||
for(int n = _buf.ReadSize() ; n > 0 ; --n)
|
||||
{
|
||||
TB.TbGRoleEquipType _v;
|
||||
_v = TB.TbGRoleEquipType.DeserializeTbGRoleEquipType(_buf);
|
||||
_dataList.Add(_v);
|
||||
_dataMap.Add(_v.Id, _v);
|
||||
}
|
||||
}
|
||||
|
||||
public System.Collections.Generic.Dictionary<int, TB.TbGRoleEquipType> DataMap => _dataMap;
|
||||
public System.Collections.Generic.List<TB.TbGRoleEquipType> DataList => _dataList;
|
||||
|
||||
public TB.TbGRoleEquipType GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
|
||||
public TB.TbGRoleEquipType Get(int key) => _dataMap[key];
|
||||
public TB.TbGRoleEquipType this[int key] => _dataMap[key];
|
||||
|
||||
public void ResolveRef(Tables tables)
|
||||
{
|
||||
foreach(var _v in _dataList)
|
||||
{
|
||||
_v.ResolveRef(tables);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user