This commit is contained in:
2026-04-28 01:53:41 +08:00
parent 2999ae29fd
commit f8eadf4f74
687 changed files with 1334370 additions and 61179 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
+51
View File
@@ -0,0 +1,51 @@
//------------------------------------------------------------------------------
// <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;
using SimpleJSON;
namespace cfg
{
public sealed partial class Audio : Luban.BeanBase
{
public Audio(JSONNode _buf)
{
{ if(!_buf["AudioID"].IsNumber) { throw new SerializationException(); } AudioID = _buf["AudioID"]; }
{ if(!_buf["AudioResourcesPath"].IsString) { throw new SerializationException(); } AudioResourcesPath = _buf["AudioResourcesPath"]; }
}
public static Audio DeserializeAudio(JSONNode _buf)
{
return new Audio(_buf);
}
public readonly int AudioID;
/// <summary>
/// 位置
/// </summary>
public readonly string AudioResourcesPath;
public const int __ID__ = 63613878;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "AudioID:" + AudioID + ","
+ "AudioResourcesPath:" + AudioResourcesPath + ","
+ "}";
}
}
}
@@ -0,0 +1,60 @@
//------------------------------------------------------------------------------
// <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;
using SimpleJSON;
namespace cfg
{
public sealed partial class BulletResources : Luban.BeanBase
{
public BulletResources(JSONNode _buf)
{
{ if(!_buf["bulletNumber"].IsNumber) { throw new SerializationException(); } BulletNumber = _buf["bulletNumber"]; }
{ if(!_buf["prefabBulletResourcesPath"].IsString) { throw new SerializationException(); } PrefabBulletResourcesPath = _buf["prefabBulletResourcesPath"]; }
{ if(!_buf["attackFX"].IsNumber) { throw new SerializationException(); } AttackFX = _buf["attackFX"]; }
}
public static BulletResources DeserializeBulletResources(JSONNode _buf)
{
return new BulletResources(_buf);
}
/// <summary>
/// 子弹编号 末位1正常子弹 2双头蛋 3激光
/// </summary>
public readonly int BulletNumber;
/// <summary>
/// 预制体名字
/// </summary>
public readonly string PrefabBulletResourcesPath;
/// <summary>
/// 击中特效
/// </summary>
public readonly int AttackFX;
public const int __ID__ = -1276660957;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "bulletNumber:" + BulletNumber + ","
+ "prefabBulletResourcesPath:" + PrefabBulletResourcesPath + ","
+ "attackFX:" + AttackFX + ","
+ "}";
}
}
}
@@ -0,0 +1,54 @@
//------------------------------------------------------------------------------
// <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;
using SimpleJSON;
namespace cfg
{
public sealed partial class EffectFXResources : Luban.BeanBase
{
public EffectFXResources(JSONNode _buf)
{
{ if(!_buf["FXNumber"].IsNumber) { throw new SerializationException(); } FXNumber = _buf["FXNumber"]; }
{ if(!_buf["prefabFXResourcesPath"].IsString) { throw new SerializationException(); } PrefabFXResourcesPath = _buf["prefabFXResourcesPath"]; }
}
public static EffectFXResources DeserializeEffectFXResources(JSONNode _buf)
{
return new EffectFXResources(_buf);
}
/// <summary>
/// 特效id
/// </summary>
public readonly int FXNumber;
/// <summary>
/// 预制体名字
/// </summary>
public readonly string PrefabFXResourcesPath;
public const int __ID__ = -234540254;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "FXNumber:" + FXNumber + ","
+ "prefabFXResourcesPath:" + PrefabFXResourcesPath + ","
+ "}";
}
}
}
@@ -0,0 +1,96 @@
//------------------------------------------------------------------------------
// <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;
using SimpleJSON;
namespace cfg
{
public sealed partial class FishResources : Luban.BeanBase
{
public FishResources(JSONNode _buf)
{
{ if(!_buf["fishNumber"].IsNumber) { throw new SerializationException(); } FishNumber = _buf["fishNumber"]; }
{ if(!_buf["prefabFishResourcesPath"].IsString) { throw new SerializationException(); } PrefabFishResourcesPath = _buf["prefabFishResourcesPath"]; }
{ var __json0 = _buf["showAudio"]; if(!__json0.IsArray) { throw new SerializationException(); } ShowAudio = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } ShowAudio.Add(__v0); } }
{ var __json0 = _buf["moveAudio"]; if(!__json0.IsArray) { throw new SerializationException(); } MoveAudio = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } MoveAudio.Add(__v0); } }
{ var __json0 = _buf["dieAudio"]; if(!__json0.IsArray) { throw new SerializationException(); } DieAudio = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } DieAudio.Add(__v0); } }
{ var __json0 = _buf["dieGlodAduio"]; if(!__json0.IsArray) { throw new SerializationException(); } DieGlodAduio = new System.Collections.Generic.Dictionary<string, int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { string _k0; { if(!__e0[0].IsString) { throw new SerializationException(); } _k0 = __e0[0]; } int _v0; { if(!__e0[1].IsNumber) { throw new SerializationException(); } _v0 = __e0[1]; } DieGlodAduio.Add(_k0, _v0); } }
{ if(!_buf["layer"].IsNumber) { throw new SerializationException(); } Layer = _buf["layer"]; }
{ if(!_buf["boardText"].IsString) { throw new SerializationException(); } BoardText = _buf["boardText"]; }
{ if(!_buf["dieEffectAssets"].IsString) { throw new SerializationException(); } DieEffectAssets = _buf["dieEffectAssets"]; }
}
public static FishResources DeserializeFishResources(JSONNode _buf)
{
return new FishResources(_buf);
}
/// <summary>
/// 鱼编号
/// </summary>
public readonly int FishNumber;
/// <summary>
/// 预制体名字
/// </summary>
public readonly string PrefabFishResourcesPath;
/// <summary>
/// 出场音频
/// </summary>
public readonly System.Collections.Generic.List<int> ShowAudio;
/// <summary>
/// 移动音频
/// </summary>
public readonly System.Collections.Generic.List<int> MoveAudio;
/// <summary>
/// 死亡音效 1,2,3
/// </summary>
public readonly System.Collections.Generic.List<int> DieAudio;
/// <summary>
/// 爆奖音效
/// </summary>
public readonly System.Collections.Generic.Dictionary<string, int> DieGlodAduio;
/// <summary>
/// 生物层级
/// </summary>
public readonly int Layer;
/// <summary>
/// 出场播报
/// </summary>
public readonly string BoardText;
/// <summary>
/// 死亡特效资源路径
/// </summary>
public readonly string DieEffectAssets;
public const int __ID__ = -2122204531;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "fishNumber:" + FishNumber + ","
+ "prefabFishResourcesPath:" + PrefabFishResourcesPath + ","
+ "showAudio:" + Luban.StringUtil.CollectionToString(ShowAudio) + ","
+ "moveAudio:" + Luban.StringUtil.CollectionToString(MoveAudio) + ","
+ "dieAudio:" + Luban.StringUtil.CollectionToString(DieAudio) + ","
+ "dieGlodAduio:" + Luban.StringUtil.CollectionToString(DieGlodAduio) + ","
+ "layer:" + Layer + ","
+ "boardText:" + BoardText + ","
+ "dieEffectAssets:" + DieEffectAssets + ","
+ "}";
}
}
}
+60
View File
@@ -0,0 +1,60 @@
//------------------------------------------------------------------------------
// <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;
using SimpleJSON;
namespace cfg
{
public sealed partial class FishYZ : Luban.BeanBase
{
public FishYZ(JSONNode _buf)
{
{ if(!_buf["yzNumber"].IsNumber) { throw new SerializationException(); } YzNumber = _buf["yzNumber"]; }
{ var __json0 = _buf["lineList"]; if(!__json0.IsArray) { throw new SerializationException(); } int _n0 = __json0.Count; LineList = new int[_n0]; int __index0=0; foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } LineList[__index0++] = __v0; } }
{ if(!_buf["count"].IsNumber) { throw new SerializationException(); } Count = _buf["count"]; }
}
public static FishYZ DeserializeFishYZ(JSONNode _buf)
{
return new FishYZ(_buf);
}
/// <summary>
/// 鱼镇id
/// </summary>
public readonly int YzNumber;
/// <summary>
/// 鱼镇路线列表
/// </summary>
public readonly int[] LineList;
/// <summary>
/// 鱼数量
/// </summary>
public readonly int Count;
public const int __ID__ = 2104539033;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "yzNumber:" + YzNumber + ","
+ "lineList:" + Luban.StringUtil.CollectionToString(LineList) + ","
+ "count:" + Count + ","
+ "}";
}
}
}
@@ -0,0 +1,54 @@
//------------------------------------------------------------------------------
// <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;
using SimpleJSON;
namespace cfg
{
public sealed partial class MediaConfig : Luban.BeanBase
{
public MediaConfig(JSONNode _buf)
{
{ if(!_buf["fishNumber"].IsNumber) { throw new SerializationException(); } FishNumber = _buf["fishNumber"]; }
{ if(!_buf["mediaType"].IsString) { throw new SerializationException(); } MediaType = _buf["mediaType"]; }
}
public static MediaConfig DeserializeMediaConfig(JSONNode _buf)
{
return new MediaConfig(_buf);
}
/// <summary>
/// 媒体编号
/// </summary>
public readonly int FishNumber;
/// <summary>
/// 预制体名字
/// </summary>
public readonly string MediaType;
public const int __ID__ = 867896358;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "fishNumber:" + FishNumber + ","
+ "mediaType:" + MediaType + ","
+ "}";
}
}
}
@@ -0,0 +1,54 @@
//------------------------------------------------------------------------------
// <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;
using SimpleJSON;
namespace cfg
{
public sealed partial class MediaResources : Luban.BeanBase
{
public MediaResources(JSONNode _buf)
{
{ if(!_buf["fishNumber"].IsNumber) { throw new SerializationException(); } FishNumber = _buf["fishNumber"]; }
{ if(!_buf["prefabFishResourcesPath"].IsString) { throw new SerializationException(); } PrefabFishResourcesPath = _buf["prefabFishResourcesPath"]; }
}
public static MediaResources DeserializeMediaResources(JSONNode _buf)
{
return new MediaResources(_buf);
}
/// <summary>
/// 媒体编号
/// </summary>
public readonly int FishNumber;
/// <summary>
/// 预制体名字
/// </summary>
public readonly string PrefabFishResourcesPath;
public const int __ID__ = -1381246271;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "fishNumber:" + FishNumber + ","
+ "prefabFishResourcesPath:" + PrefabFishResourcesPath + ","
+ "}";
}
}
}
+52
View 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;
using SimpleJSON;
namespace cfg
{
public partial class Tables
{
public TbAudio TbAudio {get; }
public TbBulletResources TbBulletResources {get; }
public TbEffectFXResources TbEffectFXResources {get; }
public TbFishResources TbFishResources {get; }
public TbFishYZ TbFishYZ {get; }
public TbMediaConfig TbMediaConfig {get; }
public TbMediaResources TbMediaResources {get; }
public TbTurretResources TbTurretResources {get; }
public Tables(System.Func<string, JSONNode> loader)
{
TbAudio = new TbAudio(loader("tbaudio"));
TbBulletResources = new TbBulletResources(loader("tbbulletresources"));
TbEffectFXResources = new TbEffectFXResources(loader("tbeffectfxresources"));
TbFishResources = new TbFishResources(loader("tbfishresources"));
TbFishYZ = new TbFishYZ(loader("tbfishyz"));
TbMediaConfig = new TbMediaConfig(loader("tbmediaconfig"));
TbMediaResources = new TbMediaResources(loader("tbmediaresources"));
TbTurretResources = new TbTurretResources(loader("tbturretresources"));
ResolveRef();
}
private void ResolveRef()
{
TbAudio.ResolveRef(this);
TbBulletResources.ResolveRef(this);
TbEffectFXResources.ResolveRef(this);
TbFishResources.ResolveRef(this);
TbFishYZ.ResolveRef(this);
TbMediaConfig.ResolveRef(this);
TbMediaResources.ResolveRef(this);
TbTurretResources.ResolveRef(this);
}
}
}
+53
View File
@@ -0,0 +1,53 @@
//------------------------------------------------------------------------------
// <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;
using SimpleJSON;
namespace cfg
{
public partial class TbAudio
{
private readonly System.Collections.Generic.Dictionary<int, Audio> _dataMap;
private readonly System.Collections.Generic.List<Audio> _dataList;
public TbAudio(JSONNode _buf)
{
_dataMap = new System.Collections.Generic.Dictionary<int, Audio>();
_dataList = new System.Collections.Generic.List<Audio>();
foreach(JSONNode _ele in _buf.Children)
{
Audio _v;
{ if(!_ele.IsObject) { throw new SerializationException(); } _v = global::cfg.Audio.DeserializeAudio(_ele); }
_dataList.Add(_v);
_dataMap.Add(_v.AudioID, _v);
}
}
public System.Collections.Generic.Dictionary<int, Audio> DataMap => _dataMap;
public System.Collections.Generic.List<Audio> DataList => _dataList;
public Audio GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
public Audio Get(int key) => _dataMap[key];
public Audio this[int key] => _dataMap[key];
public void ResolveRef(Tables tables)
{
foreach(var _v in _dataList)
{
_v.ResolveRef(tables);
}
}
}
}
@@ -0,0 +1,53 @@
//------------------------------------------------------------------------------
// <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;
using SimpleJSON;
namespace cfg
{
public partial class TbBulletResources
{
private readonly System.Collections.Generic.Dictionary<int, BulletResources> _dataMap;
private readonly System.Collections.Generic.List<BulletResources> _dataList;
public TbBulletResources(JSONNode _buf)
{
_dataMap = new System.Collections.Generic.Dictionary<int, BulletResources>();
_dataList = new System.Collections.Generic.List<BulletResources>();
foreach(JSONNode _ele in _buf.Children)
{
BulletResources _v;
{ if(!_ele.IsObject) { throw new SerializationException(); } _v = global::cfg.BulletResources.DeserializeBulletResources(_ele); }
_dataList.Add(_v);
_dataMap.Add(_v.BulletNumber, _v);
}
}
public System.Collections.Generic.Dictionary<int, BulletResources> DataMap => _dataMap;
public System.Collections.Generic.List<BulletResources> DataList => _dataList;
public BulletResources GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
public BulletResources Get(int key) => _dataMap[key];
public BulletResources this[int key] => _dataMap[key];
public void ResolveRef(Tables tables)
{
foreach(var _v in _dataList)
{
_v.ResolveRef(tables);
}
}
}
}
@@ -0,0 +1,53 @@
//------------------------------------------------------------------------------
// <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;
using SimpleJSON;
namespace cfg
{
public partial class TbEffectFXResources
{
private readonly System.Collections.Generic.Dictionary<int, EffectFXResources> _dataMap;
private readonly System.Collections.Generic.List<EffectFXResources> _dataList;
public TbEffectFXResources(JSONNode _buf)
{
_dataMap = new System.Collections.Generic.Dictionary<int, EffectFXResources>();
_dataList = new System.Collections.Generic.List<EffectFXResources>();
foreach(JSONNode _ele in _buf.Children)
{
EffectFXResources _v;
{ if(!_ele.IsObject) { throw new SerializationException(); } _v = global::cfg.EffectFXResources.DeserializeEffectFXResources(_ele); }
_dataList.Add(_v);
_dataMap.Add(_v.FXNumber, _v);
}
}
public System.Collections.Generic.Dictionary<int, EffectFXResources> DataMap => _dataMap;
public System.Collections.Generic.List<EffectFXResources> DataList => _dataList;
public EffectFXResources GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
public EffectFXResources Get(int key) => _dataMap[key];
public EffectFXResources this[int key] => _dataMap[key];
public void ResolveRef(Tables tables)
{
foreach(var _v in _dataList)
{
_v.ResolveRef(tables);
}
}
}
}
@@ -0,0 +1,53 @@
//------------------------------------------------------------------------------
// <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;
using SimpleJSON;
namespace cfg
{
public partial class TbFishResources
{
private readonly System.Collections.Generic.Dictionary<int, FishResources> _dataMap;
private readonly System.Collections.Generic.List<FishResources> _dataList;
public TbFishResources(JSONNode _buf)
{
_dataMap = new System.Collections.Generic.Dictionary<int, FishResources>();
_dataList = new System.Collections.Generic.List<FishResources>();
foreach(JSONNode _ele in _buf.Children)
{
FishResources _v;
{ if(!_ele.IsObject) { throw new SerializationException(); } _v = global::cfg.FishResources.DeserializeFishResources(_ele); }
_dataList.Add(_v);
_dataMap.Add(_v.FishNumber, _v);
}
}
public System.Collections.Generic.Dictionary<int, FishResources> DataMap => _dataMap;
public System.Collections.Generic.List<FishResources> DataList => _dataList;
public FishResources GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
public FishResources Get(int key) => _dataMap[key];
public FishResources this[int key] => _dataMap[key];
public void ResolveRef(Tables tables)
{
foreach(var _v in _dataList)
{
_v.ResolveRef(tables);
}
}
}
}
+53
View File
@@ -0,0 +1,53 @@
//------------------------------------------------------------------------------
// <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;
using SimpleJSON;
namespace cfg
{
public partial class TbFishYZ
{
private readonly System.Collections.Generic.Dictionary<int, FishYZ> _dataMap;
private readonly System.Collections.Generic.List<FishYZ> _dataList;
public TbFishYZ(JSONNode _buf)
{
_dataMap = new System.Collections.Generic.Dictionary<int, FishYZ>();
_dataList = new System.Collections.Generic.List<FishYZ>();
foreach(JSONNode _ele in _buf.Children)
{
FishYZ _v;
{ if(!_ele.IsObject) { throw new SerializationException(); } _v = global::cfg.FishYZ.DeserializeFishYZ(_ele); }
_dataList.Add(_v);
_dataMap.Add(_v.YzNumber, _v);
}
}
public System.Collections.Generic.Dictionary<int, FishYZ> DataMap => _dataMap;
public System.Collections.Generic.List<FishYZ> DataList => _dataList;
public FishYZ GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
public FishYZ Get(int key) => _dataMap[key];
public FishYZ this[int key] => _dataMap[key];
public void ResolveRef(Tables tables)
{
foreach(var _v in _dataList)
{
_v.ResolveRef(tables);
}
}
}
}
@@ -0,0 +1,53 @@
//------------------------------------------------------------------------------
// <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;
using SimpleJSON;
namespace cfg
{
public partial class TbMediaConfig
{
private readonly System.Collections.Generic.Dictionary<int, MediaConfig> _dataMap;
private readonly System.Collections.Generic.List<MediaConfig> _dataList;
public TbMediaConfig(JSONNode _buf)
{
_dataMap = new System.Collections.Generic.Dictionary<int, MediaConfig>();
_dataList = new System.Collections.Generic.List<MediaConfig>();
foreach(JSONNode _ele in _buf.Children)
{
MediaConfig _v;
{ if(!_ele.IsObject) { throw new SerializationException(); } _v = global::cfg.MediaConfig.DeserializeMediaConfig(_ele); }
_dataList.Add(_v);
_dataMap.Add(_v.FishNumber, _v);
}
}
public System.Collections.Generic.Dictionary<int, MediaConfig> DataMap => _dataMap;
public System.Collections.Generic.List<MediaConfig> DataList => _dataList;
public MediaConfig GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
public MediaConfig Get(int key) => _dataMap[key];
public MediaConfig this[int key] => _dataMap[key];
public void ResolveRef(Tables tables)
{
foreach(var _v in _dataList)
{
_v.ResolveRef(tables);
}
}
}
}
@@ -0,0 +1,53 @@
//------------------------------------------------------------------------------
// <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;
using SimpleJSON;
namespace cfg
{
public partial class TbMediaResources
{
private readonly System.Collections.Generic.Dictionary<int, MediaResources> _dataMap;
private readonly System.Collections.Generic.List<MediaResources> _dataList;
public TbMediaResources(JSONNode _buf)
{
_dataMap = new System.Collections.Generic.Dictionary<int, MediaResources>();
_dataList = new System.Collections.Generic.List<MediaResources>();
foreach(JSONNode _ele in _buf.Children)
{
MediaResources _v;
{ if(!_ele.IsObject) { throw new SerializationException(); } _v = global::cfg.MediaResources.DeserializeMediaResources(_ele); }
_dataList.Add(_v);
_dataMap.Add(_v.FishNumber, _v);
}
}
public System.Collections.Generic.Dictionary<int, MediaResources> DataMap => _dataMap;
public System.Collections.Generic.List<MediaResources> DataList => _dataList;
public MediaResources GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
public MediaResources Get(int key) => _dataMap[key];
public MediaResources this[int key] => _dataMap[key];
public void ResolveRef(Tables tables)
{
foreach(var _v in _dataList)
{
_v.ResolveRef(tables);
}
}
}
}
@@ -0,0 +1,53 @@
//------------------------------------------------------------------------------
// <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;
using SimpleJSON;
namespace cfg
{
public partial class TbTurretResources
{
private readonly System.Collections.Generic.Dictionary<int, TurretResources> _dataMap;
private readonly System.Collections.Generic.List<TurretResources> _dataList;
public TbTurretResources(JSONNode _buf)
{
_dataMap = new System.Collections.Generic.Dictionary<int, TurretResources>();
_dataList = new System.Collections.Generic.List<TurretResources>();
foreach(JSONNode _ele in _buf.Children)
{
TurretResources _v;
{ if(!_ele.IsObject) { throw new SerializationException(); } _v = global::cfg.TurretResources.DeserializeTurretResources(_ele); }
_dataList.Add(_v);
_dataMap.Add(_v.TurretNumber, _v);
}
}
public System.Collections.Generic.Dictionary<int, TurretResources> DataMap => _dataMap;
public System.Collections.Generic.List<TurretResources> DataList => _dataList;
public TurretResources GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
public TurretResources Get(int key) => _dataMap[key];
public TurretResources this[int key] => _dataMap[key];
public void ResolveRef(Tables tables)
{
foreach(var _v in _dataList)
{
_v.ResolveRef(tables);
}
}
}
}
@@ -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;
using SimpleJSON;
namespace cfg
{
public sealed partial class TurretResources : Luban.BeanBase
{
public TurretResources(JSONNode _buf)
{
{ if(!_buf["turretNumber"].IsNumber) { throw new SerializationException(); } TurretNumber = _buf["turretNumber"]; }
{ if(!_buf["turretType"].IsNumber) { throw new SerializationException(); } TurretType = _buf["turretType"]; }
{ if(!_buf["prefabTurretResourcesPath"].IsString) { throw new SerializationException(); } PrefabTurretResourcesPath = _buf["prefabTurretResourcesPath"]; }
{ if(!_buf["animationType"].IsNumber) { throw new SerializationException(); } AnimationType = _buf["animationType"]; }
{ if(!_buf["attackAudio"].IsNumber) { throw new SerializationException(); } AttackAudio = _buf["attackAudio"]; }
}
public static TurretResources DeserializeTurretResources(JSONNode _buf)
{
return new TurretResources(_buf);
}
/// <summary>
/// 炮台编号
/// </summary>
public readonly int TurretNumber;
/// <summary>
/// 类型 1普通炮台 2战神 3翅膀
/// </summary>
public readonly int TurretType;
/// <summary>
/// 预制体名字
/// </summary>
public readonly string PrefabTurretResourcesPath;
/// <summary>
/// 动画类型1spine 2animator 3 animation
/// </summary>
public readonly int AnimationType;
/// <summary>
/// 攻击音效
/// </summary>
public readonly int AttackAudio;
public const int __ID__ = -896453899;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "turretNumber:" + TurretNumber + ","
+ "turretType:" + TurretType + ","
+ "prefabTurretResourcesPath:" + PrefabTurretResourcesPath + ","
+ "animationType:" + AnimationType + ","
+ "attackAudio:" + AttackAudio + ","
+ "}";
}
}
}
+46
View File
@@ -0,0 +1,46 @@
//------------------------------------------------------------------------------
// <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;
using SimpleJSON;
namespace cfg
{
public partial struct vector2
{
public vector2(JSONNode _buf)
{
{ if(!_buf["x"].IsNumber) { throw new SerializationException(); } X = _buf["x"]; }
{ if(!_buf["y"].IsNumber) { throw new SerializationException(); } Y = _buf["y"]; }
}
public static vector2 Deserializevector2(JSONNode _buf)
{
return new vector2(_buf);
}
public readonly float X;
public readonly float Y;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "x:" + X + ","
+ "y:" + Y + ","
+ "}";
}
}
}
+49
View File
@@ -0,0 +1,49 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
using SimpleJSON;
namespace cfg
{
public partial struct vector3
{
public vector3(JSONNode _buf)
{
{ if(!_buf["x"].IsNumber) { throw new SerializationException(); } X = _buf["x"]; }
{ if(!_buf["y"].IsNumber) { throw new SerializationException(); } Y = _buf["y"]; }
{ if(!_buf["z"].IsNumber) { throw new SerializationException(); } Z = _buf["z"]; }
}
public static vector3 Deserializevector3(JSONNode _buf)
{
return new vector3(_buf);
}
public readonly float X;
public readonly float Y;
public readonly float Z;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "x:" + X + ","
+ "y:" + Y + ","
+ "z:" + Z + ","
+ "}";
}
}
}
+52
View 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;
using SimpleJSON;
namespace cfg
{
public partial struct vector4
{
public vector4(JSONNode _buf)
{
{ if(!_buf["x"].IsNumber) { throw new SerializationException(); } X = _buf["x"]; }
{ if(!_buf["y"].IsNumber) { throw new SerializationException(); } Y = _buf["y"]; }
{ if(!_buf["z"].IsNumber) { throw new SerializationException(); } Z = _buf["z"]; }
{ if(!_buf["w"].IsNumber) { throw new SerializationException(); } W = _buf["w"]; }
}
public static vector4 Deserializevector4(JSONNode _buf)
{
return new vector4(_buf);
}
public readonly float X;
public readonly float Y;
public readonly float Z;
public readonly float W;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "x:" + X + ","
+ "y:" + Y + ","
+ "z:" + Z + ","
+ "w:" + W + ","
+ "}";
}
}
}
-162
View File
@@ -1,162 +0,0 @@
[
{
"AudioID": 60001,
"AudioResourcesPath": "PW_Bg"
},
{
"AudioID": 60002,
"AudioResourcesPath": "PW_SelectArena_PlaneFly"
},
{
"AudioID": 60003,
"AudioResourcesPath": "PW_Enter"
},
{
"AudioID": 60004,
"AudioResourcesPath": "PW_Explosion"
},
{
"AudioID": 60005,
"AudioResourcesPath": "PW_AppearTip"
},
{
"AudioID": 60006,
"AudioResourcesPath": "PW_TextShark"
},
{
"AudioID": 60007,
"AudioResourcesPath": "PW_TextDragon"
},
{
"AudioID": 60008,
"AudioResourcesPath": "PW_WreckingBallShow"
},
{
"AudioID": 60009,
"AudioResourcesPath": "PW_Button"
},
{
"AudioID": 60010,
"AudioResourcesPath": "PW_StraightFlush"
},
{
"AudioID": 60011,
"AudioResourcesPath": "PW_ThreeOfKind"
},
{
"AudioID": 60012,
"AudioResourcesPath": "PW_Shoot"
},
{
"AudioID": 60013,
"AudioResourcesPath": "PW_Wheel"
},
{
"AudioID": 60014,
"AudioResourcesPath": "PW_WheelMove"
},
{
"AudioID": 60015,
"AudioResourcesPath": "PW_WreckingBall Show"
},
{
"AudioID": 60016,
"AudioResourcesPath": "PW_WreckingBall ToAttack"
},
{
"AudioID": 60017,
"AudioResourcesPath": "PW_WreckingBallExplosionBig"
},
{
"AudioID": 60018,
"AudioResourcesPath": "PW_WreckingBallExplosionSmall"
},
{
"AudioID": 60019,
"AudioResourcesPath": "PW_WreckingBallLightning"
},
{
"AudioID": 60020,
"AudioResourcesPath": "PW_WreckingBallOut"
},
{
"AudioID": 60021,
"AudioResourcesPath": "PW_WreckingBallShow"
},
{
"AudioID": 60022,
"AudioResourcesPath": "PW WreckingBallTextShow"
},
{
"AudioID": 60023,
"AudioResourcesPath": "PW_StarShip_On_Hit"
},
{
"AudioID": 60024,
"AudioResourcesPath": "PW_StarShip_Show"
},
{
"AudioID": 60025,
"AudioResourcesPath": "PW StartHole"
},
{
"AudioID": 60026,
"AudioResourcesPath": "PW_StraightFlush"
},
{
"AudioID": 60027,
"AudioResourcesPath": "PW_TextDragon"
},
{
"AudioID": 60028,
"AudioResourcesPath": "PW_TextScorpion"
},
{
"AudioID": 60029,
"AudioResourcesPath": "pW TextShark"
},
{
"AudioID": 60030,
"AudioResourcesPath": "PW_ThreeOfKind"
},
{
"AudioID": 60031,
"AudioResourcesPath": "PW Turn"
},
{
"AudioID": 60032,
"AudioResourcesPath": "PW Settle_Poker"
},
{
"AudioID": 60033,
"AudioResourcesPath": "PW_Settle_Rocket"
},
{
"AudioID": 60034,
"AudioResourcesPath": "PW_Shake_Explosion"
},
{
"AudioID": 60035,
"AudioResourcesPath": "pW Shark Dead"
},
{
"AudioID": 60036,
"AudioResourcesPath": "PW_Shark_Dead"
},
{
"AudioID": 60037,
"AudioResourcesPath": ""
},
{
"AudioID": 60038,
"AudioResourcesPath": ""
},
{
"AudioID": 60039,
"AudioResourcesPath": ""
},
{
"AudioID": 60040,
"AudioResourcesPath": ""
}
]
@@ -0,0 +1 @@
[]
-112
View File
@@ -1,112 +0,0 @@
[
{
"id": 2001,
"name": "红方个人赞",
"defendNumber": 0
},
{
"id": 2002,
"name": "红方集体赞",
"defendNumber": 0
},
{
"id": 2003,
"name": "囚天指",
"defendNumber": 1
},
{
"id": 2004,
"name": "带派老铁",
"defendNumber": 2
},
{
"id": 2005,
"name": "防御魔法棒",
"defendNumber": 0
},
{
"id": 2006,
"name": "召唤DJ爷爷",
"defendNumber": 3
},
{
"id": 2007,
"name": "召唤僵尸舞王",
"defendNumber": 5
},
{
"id": 2008,
"name": "防御守卫雅典娜",
"defendNumber": 0
},
{
"id": 2009,
"name": "召唤三哈之力",
"defendNumber": 8
},
{
"id": 2010,
"name": "召唤诸神黄昏大爷",
"defendNumber": 16
},
{
"id": 2011,
"name": "召唤神龙",
"defendNumber": 30
},
{
"id": 2012,
"name": "蓝方个人赞",
"defendNumber": 0
},
{
"id": 2013,
"name": "蓝方集体赞",
"defendNumber": 0
},
{
"id": 2014,
"name": "铁山靠",
"defendNumber": 1
},
{
"id": 2015,
"name": "干嘛哎呦",
"defendNumber": 2
},
{
"id": 2016,
"name": "防御大奖杯",
"defendNumber": 0
},
{
"id": 2017,
"name": "召唤古巨鸡",
"defendNumber": 3
},
{
"id": 2018,
"name": "召唤基纽特战队",
"defendNumber": 5
},
{
"id": 2019,
"name": "防御大佛高达",
"defendNumber": 0
},
{
"id": 2020,
"name": "召唤三吒之力",
"defendNumber": 8
},
{
"id": 2021,
"name": "召唤至尊防弹体育生",
"defendNumber": 16
},
{
"id": 2022,
"name": "召唤神龙",
"defendNumber": 30
}
]
@@ -0,0 +1 @@
[]
File diff suppressed because it is too large Load Diff
-128
View File
@@ -1,128 +0,0 @@
[
{
"id": 1001,
"giftName": "仙女棒",
"giftLevel": 1,
"giftValue": 1,
"giftTitleUrl": "",
"giftLabel": "囚天指/铁山靠",
"giftPageNum": 1,
"Gift_ID": 2,
"skillId": [
2003,
2014
]
},
{
"id": 1002,
"giftName": "能力药丸",
"giftLevel": 2,
"giftValue": 10,
"giftTitleUrl": "",
"giftLabel": "带派老铁/干嘛哎呦",
"giftPageNum": 1,
"Gift_ID": 2,
"skillId": [
2004,
2015
]
},
{
"id": 1003,
"giftName": "魔法镜",
"giftLevel": 3,
"giftValue": 19,
"giftTitleUrl": "",
"giftLabel": "防御仙女棒/防御大奖杯",
"giftPageNum": 1,
"Gift_ID": 2,
"skillId": [
2005,
2016
]
},
{
"id": 1004,
"giftName": "甜甜圈",
"giftLevel": 4,
"giftValue": 52,
"giftTitleUrl": "",
"giftLabel": "召唤DJ爷爷/召唤古巨鸡",
"giftPageNum": 1,
"Gift_ID": 2,
"skillId": [
2006,
2017
]
},
{
"id": 1005,
"giftName": "能量电池",
"giftLevel": 5,
"giftValue": 99,
"giftTitleUrl": "",
"giftLabel": "召唤僵尸舞王/召唤基纽特战队",
"giftPageNum": 1,
"Gift_ID": 2,
"skillId": [
2007,
2018
]
},
{
"id": 1006,
"giftName": "爱的爆炸",
"giftLevel": 6,
"giftValue": 199,
"giftTitleUrl": "",
"giftLabel": "防御守卫雅典娜/防御大佛高达",
"giftPageNum": 2,
"Gift_ID": 2,
"skillId": [
2008,
2019
]
},
{
"id": 1007,
"giftName": "派对话筒",
"giftLevel": 7,
"giftValue": 299,
"giftTitleUrl": "",
"giftLabel": "召唤三哈之力/召唤三吒之力",
"giftPageNum": 2,
"Gift_ID": 2,
"skillId": [
2009,
2020
]
},
{
"id": 1008,
"giftName": "神秘空投",
"giftLevel": 8,
"giftValue": 520,
"giftTitleUrl": "",
"giftLabel": "召唤诸神黄昏大爷/召唤至尊防弹体育生",
"giftPageNum": 2,
"Gift_ID": 2,
"skillId": [
2010,
2021
]
},
{
"id": 1009,
"giftName": "超级空投",
"giftLevel": 9,
"giftValue": 888,
"giftTitleUrl": "",
"giftLabel": "召唤神龙/召唤神龙",
"giftPageNum": 2,
"Gift_ID": 2,
"skillId": [
2011,
2022
]
}
]
@@ -0,0 +1 @@
[]