备份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,88 @@
//------------------------------------------------------------------------------
// <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 EventLuckyCardsPrizePool : Bright.Config.BeanBase
{
public JSONNode json;
public EventLuckyCardsPrizePool(JSONNode _json)
{
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
{ if(!_json["Item"].IsNumber) { throw new SerializationException(); } Item = _json["Item"]; }
{ if(!_json["Count"].IsNumber) { throw new SerializationException(); } Count = _json["Count"]; }
{ if(!_json["Weight"].IsNumber) { throw new SerializationException(); } Weight = _json["Weight"]; }
{ if(!_json["AdjustWeight"].IsNumber) { throw new SerializationException(); } AdjustWeight = _json["AdjustWeight"]; }
{ if(!_json["AdjustWeight2"].IsNumber) { throw new SerializationException(); } AdjustWeight2 = _json["AdjustWeight2"]; }
json = _json;
PostInit();
}
public EventLuckyCardsPrizePool(int ID, int Item, int Count, int Weight, int AdjustWeight, int AdjustWeight2 )
{
this.ID = ID;
this.Item = Item;
this.Count = Count;
this.Weight = Weight;
this.AdjustWeight = AdjustWeight;
this.AdjustWeight2 = AdjustWeight2;
PostInit();
}
public static EventLuckyCardsPrizePool DeserializeEventLuckyCardsPrizePool(JSONNode _json)
{
return new EventLuckyCardsPrizePool(_json);
}
public int ID { get; private set; }
public int Item { get; private set; }
public int Count { get; private set; }
public int Weight { get; private set; }
/// <summary>
/// 抽到后权重下降为
/// </summary>
public int AdjustWeight { get; private set; }
/// <summary>
/// 出现在心愿大奖之后权重变为X且不受权重下降的影响
/// </summary>
public int AdjustWeight2 { get; private set; }
public const int __ID__ = 1490329433;
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 + ","
+ "Item:" + Item + ","
+ "Count:" + Count + ","
+ "Weight:" + Weight + ","
+ "AdjustWeight:" + AdjustWeight + ","
+ "AdjustWeight2:" + AdjustWeight2 + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}