备份CatanBuilding瘦身独立工程

This commit is contained in:
JSD\13999
2026-05-26 16:15:54 +08:00
commit 2d0e6a61b7
12001 changed files with 2431925 additions and 0 deletions

View File

@@ -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 Bright.Serialization;
using System.Collections.Generic;
using SimpleJSON;
namespace cfg
{
public sealed partial class SupplyDropGameplayLure : Bright.Config.BeanBase
{
public JSONNode json;
public SupplyDropGameplayLure(JSONNode _json)
{
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
{ if(!_json["MaxRewardDisplay"].IsNumber) { throw new SerializationException(); } MaxRewardDisplay = _json["MaxRewardDisplay"]; }
{ var __json0 = _json["DropID"]; if(!__json0.IsArray) { throw new SerializationException(); } DropID = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } DropID.Add(__v0); } }
json = _json;
PostInit();
}
public SupplyDropGameplayLure(int ID, int MaxRewardDisplay, System.Collections.Generic.List<int> DropID )
{
this.ID = ID;
this.MaxRewardDisplay = MaxRewardDisplay;
this.DropID = DropID;
PostInit();
}
public static SupplyDropGameplayLure DeserializeSupplyDropGameplayLure(JSONNode _json)
{
return new SupplyDropGameplayLure(_json);
}
/// <summary>
/// 对应ItemID
/// </summary>
public int ID { get; private set; }
/// <summary>
/// 能获得的体力最大值<br/>空投档位展示
/// </summary>
public int MaxRewardDisplay { get; private set; }
/// <summary>
/// 对应Drop表主键从左到右
/// </summary>
public System.Collections.Generic.List<int> DropID { get; private set; }
public const int __ID__ = 1955384448;
public override int GetTypeId() => __ID__;
public void Resolve(Dictionary<string, object> _tables)
{
PostResolve();
}
public void TranslateText(System.Func<string, string, string> translator)
{
}
public override string ToString()
{
return "{ "
+ "ID:" + ID + ","
+ "MaxRewardDisplay:" + MaxRewardDisplay + ","
+ "DropID:" + Bright.Common.StringUtil.CollectionToString(DropID) + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}