备份CatanBuilding瘦身独立工程
This commit is contained in:
127
Assets/Scripts/Tables/EventScratchMain.cs
Normal file
127
Assets/Scripts/Tables/EventScratchMain.cs
Normal file
@@ -0,0 +1,127 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 EventScratchMain : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public EventScratchMain(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["Icon"].IsString) { throw new SerializationException(); } Icon = _json["Icon"]; }
|
||||
{ if(!_json["ItemId"].IsNumber) { throw new SerializationException(); } ItemId = _json["ItemId"]; }
|
||||
{ var __json0 = _json["Addressable"]; if(!__json0.IsArray) { throw new SerializationException(); } Addressable = new System.Collections.Generic.List<string>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { string __v0; { if(!__e0.IsString) { throw new SerializationException(); } __v0 = __e0; } Addressable.Add(__v0); } }
|
||||
{ if(!_json["UIRes"].IsString) { throw new SerializationException(); } UIRes = _json["UIRes"]; }
|
||||
{ if(!_json["Bgm"].IsString) { throw new SerializationException(); } Bgm = _json["Bgm"]; }
|
||||
{ var __json0 = _json["CardList"]; if(!__json0.IsArray) { throw new SerializationException(); } CardList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } CardList.Add(__v0); } }
|
||||
{ if(!_json["UIPanel"].IsString) { throw new SerializationException(); } UIPanel = _json["UIPanel"]; }
|
||||
{ if(!_json["InfoPanel"].IsString) { throw new SerializationException(); } InfoPanel = _json["InfoPanel"]; }
|
||||
{ if(!_json["RewardPanel"].IsString) { throw new SerializationException(); } RewardPanel = _json["RewardPanel"]; }
|
||||
{ if(!_json["ChainPackPanel"].IsString) { throw new SerializationException(); } ChainPackPanel = _json["ChainPackPanel"]; }
|
||||
{ if(!_json["PackPanel"].IsString) { throw new SerializationException(); } PackPanel = _json["PackPanel"]; }
|
||||
{ if(!_json["PackId"].IsNumber) { throw new SerializationException(); } PackId = _json["PackId"]; }
|
||||
{ if(!_json["PackId2"].IsNumber) { throw new SerializationException(); } PackId2 = _json["PackId2"]; }
|
||||
{ var __json0 = _json["GuidanceGroupList"]; if(!__json0.IsArray) { throw new SerializationException(); } GuidanceGroupList = new System.Collections.Generic.List<string>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { string __v0; { if(!__e0.IsString) { throw new SerializationException(); } __v0 = __e0; } GuidanceGroupList.Add(__v0); } }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public EventScratchMain(int ID, string Icon, int ItemId, System.Collections.Generic.List<string> Addressable, string UIRes, string Bgm, System.Collections.Generic.List<int> CardList, string UIPanel, string InfoPanel, string RewardPanel, string ChainPackPanel, string PackPanel, int PackId, int PackId2, System.Collections.Generic.List<string> GuidanceGroupList )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.Icon = Icon;
|
||||
this.ItemId = ItemId;
|
||||
this.Addressable = Addressable;
|
||||
this.UIRes = UIRes;
|
||||
this.Bgm = Bgm;
|
||||
this.CardList = CardList;
|
||||
this.UIPanel = UIPanel;
|
||||
this.InfoPanel = InfoPanel;
|
||||
this.RewardPanel = RewardPanel;
|
||||
this.ChainPackPanel = ChainPackPanel;
|
||||
this.PackPanel = PackPanel;
|
||||
this.PackId = PackId;
|
||||
this.PackId2 = PackId2;
|
||||
this.GuidanceGroupList = GuidanceGroupList;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static EventScratchMain DeserializeEventScratchMain(JSONNode _json)
|
||||
{
|
||||
return new EventScratchMain(_json);
|
||||
}
|
||||
|
||||
public int ID { get; private set; }
|
||||
public string Icon { get; private set; }
|
||||
public int ItemId { get; private set; }
|
||||
public System.Collections.Generic.List<string> Addressable { get; private set; }
|
||||
public string UIRes { get; private set; }
|
||||
public string Bgm { get; private set; }
|
||||
/// <summary>
|
||||
/// EventScratchCard
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> CardList { get; private set; }
|
||||
public string UIPanel { get; private set; }
|
||||
public string InfoPanel { get; private set; }
|
||||
public string RewardPanel { get; private set; }
|
||||
public string ChainPackPanel { get; private set; }
|
||||
public string PackPanel { get; private set; }
|
||||
/// <summary>
|
||||
/// 读shop表
|
||||
/// </summary>
|
||||
public int PackId { get; private set; }
|
||||
/// <summary>
|
||||
/// 读shop表
|
||||
/// </summary>
|
||||
public int PackId2 { get; private set; }
|
||||
public System.Collections.Generic.List<string> GuidanceGroupList { get; private set; }
|
||||
|
||||
public const int __ID__ = 356046073;
|
||||
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 + ","
|
||||
+ "Icon:" + Icon + ","
|
||||
+ "ItemId:" + ItemId + ","
|
||||
+ "Addressable:" + Bright.Common.StringUtil.CollectionToString(Addressable) + ","
|
||||
+ "UIRes:" + UIRes + ","
|
||||
+ "Bgm:" + Bgm + ","
|
||||
+ "CardList:" + Bright.Common.StringUtil.CollectionToString(CardList) + ","
|
||||
+ "UIPanel:" + UIPanel + ","
|
||||
+ "InfoPanel:" + InfoPanel + ","
|
||||
+ "RewardPanel:" + RewardPanel + ","
|
||||
+ "ChainPackPanel:" + ChainPackPanel + ","
|
||||
+ "PackPanel:" + PackPanel + ","
|
||||
+ "PackId:" + PackId + ","
|
||||
+ "PackId2:" + PackId2 + ","
|
||||
+ "GuidanceGroupList:" + Bright.Common.StringUtil.CollectionToString(GuidanceGroupList) + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user