备份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,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 Bright.Serialization;
using System.Collections.Generic;
using SimpleJSON;
namespace cfg
{
public sealed partial class EventChallengeConfig : Bright.Config.BeanBase
{
public JSONNode json;
public EventChallengeConfig(JSONNode _json)
{
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
{ var __json0 = _json["PointsGet"]; if(!__json0.IsArray) { throw new SerializationException(); } PointsGet = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } PointsGet.Add(__v0); } }
{ if(!_json["Item"].IsNumber) { throw new SerializationException(); } Item = _json["Item"]; }
{ if(!_json["Icon"].IsString) { throw new SerializationException(); } Icon = _json["Icon"]; }
{ if(!_json["UIPanel"].IsString) { throw new SerializationException(); } UIPanel = _json["UIPanel"]; }
{ if(!_json["InfoPanel"].IsString) { throw new SerializationException(); } InfoPanel = _json["InfoPanel"]; }
{ if(!_json["MatchPanel"].IsString) { throw new SerializationException(); } MatchPanel = _json["MatchPanel"]; }
{ if(!_json["ScenePanel"].IsString) { throw new SerializationException(); } ScenePanel = _json["ScenePanel"]; }
{ var __json0 = _json["RandomSequenceConfig1"]; if(!__json0.IsArray) { throw new SerializationException(); } RandomSequenceConfig1 = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } RandomSequenceConfig1.Add(__v0); } }
{ if(!_json["RandomSequenceConfig2"].IsNumber) { throw new SerializationException(); } RandomSequenceConfig2 = _json["RandomSequenceConfig2"]; }
json = _json;
PostInit();
}
public EventChallengeConfig(int ID, System.Collections.Generic.List<int> PointsGet, int Item, string Icon, string UIPanel, string InfoPanel, string MatchPanel, string ScenePanel, System.Collections.Generic.List<int> RandomSequenceConfig1, int RandomSequenceConfig2 )
{
this.ID = ID;
this.PointsGet = PointsGet;
this.Item = Item;
this.Icon = Icon;
this.UIPanel = UIPanel;
this.InfoPanel = InfoPanel;
this.MatchPanel = MatchPanel;
this.ScenePanel = ScenePanel;
this.RandomSequenceConfig1 = RandomSequenceConfig1;
this.RandomSequenceConfig2 = RandomSequenceConfig2;
PostInit();
}
public static EventChallengeConfig DeserializeEventChallengeConfig(JSONNode _json)
{
return new EventChallengeConfig(_json);
}
public int ID { get; private set; }
/// <summary>
/// 小型鱼品质1
/// </summary>
public System.Collections.Generic.List<int> PointsGet { get; private set; }
/// <summary>
/// 图标读这个
/// </summary>
public int Item { get; private set; }
public string Icon { get; private set; }
public string UIPanel { get; private set; }
public string InfoPanel { get; private set; }
public string MatchPanel { get; private set; }
public string ScenePanel { get; private set; }
public System.Collections.Generic.List<int> RandomSequenceConfig1 { get; private set; }
public int RandomSequenceConfig2 { get; private set; }
public const int __ID__ = -1764128853;
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 + ","
+ "PointsGet:" + Bright.Common.StringUtil.CollectionToString(PointsGet) + ","
+ "Item:" + Item + ","
+ "Icon:" + Icon + ","
+ "UIPanel:" + UIPanel + ","
+ "InfoPanel:" + InfoPanel + ","
+ "MatchPanel:" + MatchPanel + ","
+ "ScenePanel:" + ScenePanel + ","
+ "RandomSequenceConfig1:" + Bright.Common.StringUtil.CollectionToString(RandomSequenceConfig1) + ","
+ "RandomSequenceConfig2:" + RandomSequenceConfig2 + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}