备份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,121 @@
//------------------------------------------------------------------------------
// <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 FixedFishList : Bright.Config.BeanBase
{
public JSONNode json;
public FixedFishList(JSONNode _json)
{
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
{ if(!_json["FishID"].IsNumber) { throw new SerializationException(); } FishID = _json["FishID"]; }
{ if(!_json["SupplyDrop"].IsNumber) { throw new SerializationException(); } SupplyDrop = _json["SupplyDrop"]; }
{ if(!_json["SupplyDropIndex"].IsNumber) { throw new SerializationException(); } SupplyDropIndex = _json["SupplyDropIndex"]; }
{ if(!_json["EatFishType"].IsNumber) { throw new SerializationException(); } EatFishType = _json["EatFishType"]; }
{ if(!_json["EatenFishID"].IsNumber) { throw new SerializationException(); } EatenFishID = _json["EatenFishID"]; }
{ if(!_json["UIEatHpPercent"].IsNumber) { throw new SerializationException(); } UIEatHpPercent = _json["UIEatHpPercent"]; }
{ if(!_json["RealFishID"].IsNumber) { throw new SerializationException(); } RealFishID = _json["RealFishID"]; }
{ if(!_json["IfStaPowPopUp"].IsNumber) { throw new SerializationException(); } IfStaPowPopUp = _json["IfStaPowPopUp"]; }
json = _json;
PostInit();
}
public FixedFishList(int ID, int FishID, int SupplyDrop, int SupplyDropIndex, int EatFishType, int EatenFishID, float UIEatHpPercent, int RealFishID, int IfStaPowPopUp )
{
this.ID = ID;
this.FishID = FishID;
this.SupplyDrop = SupplyDrop;
this.SupplyDropIndex = SupplyDropIndex;
this.EatFishType = EatFishType;
this.EatenFishID = EatenFishID;
this.UIEatHpPercent = UIEatHpPercent;
this.RealFishID = RealFishID;
this.IfStaPowPopUp = IfStaPowPopUp;
PostInit();
}
public static FixedFishList DeserializeFixedFishList(JSONNode _json)
{
return new FixedFishList(_json);
}
/// <summary>
/// 列表,循环
/// </summary>
public int ID { get; private set; }
/// <summary>
/// item表主键
/// </summary>
public int FishID { get; private set; }
/// <summary>
/// 对应空投表主键
/// </summary>
public int SupplyDrop { get; private set; }
/// <summary>
/// 1体力<br/>2小玩法<br/>3体力buff<br/>4钞票buff
/// </summary>
public int SupplyDropIndex { get; private set; }
/// <summary>
/// 0直接钓起<br/>1UI吃鱼<br/>2动画吃鱼
/// </summary>
public int EatFishType { get; private set; }
/// <summary>
/// item表主键
/// </summary>
public int EatenFishID { get; private set; }
/// <summary>
/// 从这个区间到0%之间随机出一个血量,血量低于这个数值就吃鱼
/// </summary>
public float UIEatHpPercent { get; private set; }
/// <summary>
/// 钓到的积分、重量会加给这个编号的鱼
/// </summary>
public int RealFishID { get; private set; }
/// <summary>
/// guidancepopuppanel的Station_powerreel是否生效
/// </summary>
public int IfStaPowPopUp { get; private set; }
public const int __ID__ = 1521809034;
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 + ","
+ "FishID:" + FishID + ","
+ "SupplyDrop:" + SupplyDrop + ","
+ "SupplyDropIndex:" + SupplyDropIndex + ","
+ "EatFishType:" + EatFishType + ","
+ "EatenFishID:" + EatenFishID + ","
+ "UIEatHpPercent:" + UIEatHpPercent + ","
+ "RealFishID:" + RealFishID + ","
+ "IfStaPowPopUp:" + IfStaPowPopUp + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}