备份CatanBuilding瘦身独立工程
This commit is contained in:
160
Assets/Scripts/Tables/EventPartnerMain2.cs
Normal file
160
Assets/Scripts/Tables/EventPartnerMain2.cs
Normal file
@@ -0,0 +1,160 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 EventPartnerMain2 : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public EventPartnerMain2(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
||||
{ if(!_json["UIPanel"].IsString) { throw new SerializationException(); } UIPanel = _json["UIPanel"]; }
|
||||
{ if(!_json["GamePanel"].IsString) { throw new SerializationException(); } GamePanel = _json["GamePanel"]; }
|
||||
{ if(!_json["InfoPanel"].IsString) { throw new SerializationException(); } InfoPanel = _json["InfoPanel"]; }
|
||||
{ if(!_json["PackId"].IsNumber) { throw new SerializationException(); } PackId = _json["PackId"]; }
|
||||
{ if(!_json["Icon"].IsString) { throw new SerializationException(); } Icon = _json["Icon"]; }
|
||||
{ if(!_json["Addressable"].IsString) { throw new SerializationException(); } Addressable = _json["Addressable"]; }
|
||||
{ if(!_json["Atlas"].IsString) { throw new SerializationException(); } Atlas = _json["Atlas"]; }
|
||||
{ if(!_json["InitID"].IsNumber) { throw new SerializationException(); } InitID = _json["InitID"]; }
|
||||
{ if(!_json["ItemID"].IsNumber) { throw new SerializationException(); } ItemID = _json["ItemID"]; }
|
||||
{ if(!_json["SpinRequire"].IsNumber) { throw new SerializationException(); } SpinRequire = _json["SpinRequire"]; }
|
||||
{ if(!_json["MinePoint"].IsNumber) { throw new SerializationException(); } MinePoint = _json["MinePoint"]; }
|
||||
{ var __json0 = _json["MinePointShow"]; if(!__json0.IsArray) { throw new SerializationException(); } MinePointShow = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } MinePointShow.Add(__v0); } }
|
||||
{ var __json0 = _json["SpinMag"]; if(!__json0.IsArray) { throw new SerializationException(); } SpinMag = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } SpinMag.Add(__v0); } }
|
||||
{ var __json0 = _json["SpinPoint"]; if(!__json0.IsArray) { throw new SerializationException(); } SpinPoint = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } SpinPoint.Add(__v0); } }
|
||||
{ var __json0 = _json["StagePoint"]; if(!__json0.IsArray) { throw new SerializationException(); } StagePoint = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } StagePoint.Add(__v0); } }
|
||||
{ var __json0 = _json["StageReward"]; if(!__json0.IsArray) { throw new SerializationException(); } StageReward = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } StageReward.Add(__v0); } }
|
||||
{ if(!_json["Reward"].IsNumber) { throw new SerializationException(); } Reward = _json["Reward"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public EventPartnerMain2(int ID, string UIPanel, string GamePanel, string InfoPanel, int PackId, string Icon, string Addressable, string Atlas, int InitID, int ItemID, int SpinRequire, int MinePoint, System.Collections.Generic.List<int> MinePointShow, System.Collections.Generic.List<int> SpinMag, System.Collections.Generic.List<int> SpinPoint, System.Collections.Generic.List<int> StagePoint, System.Collections.Generic.List<int> StageReward, int Reward )
|
||||
{
|
||||
this.ID = ID;
|
||||
this.UIPanel = UIPanel;
|
||||
this.GamePanel = GamePanel;
|
||||
this.InfoPanel = InfoPanel;
|
||||
this.PackId = PackId;
|
||||
this.Icon = Icon;
|
||||
this.Addressable = Addressable;
|
||||
this.Atlas = Atlas;
|
||||
this.InitID = InitID;
|
||||
this.ItemID = ItemID;
|
||||
this.SpinRequire = SpinRequire;
|
||||
this.MinePoint = MinePoint;
|
||||
this.MinePointShow = MinePointShow;
|
||||
this.SpinMag = SpinMag;
|
||||
this.SpinPoint = SpinPoint;
|
||||
this.StagePoint = StagePoint;
|
||||
this.StageReward = StageReward;
|
||||
this.Reward = Reward;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static EventPartnerMain2 DeserializeEventPartnerMain2(JSONNode _json)
|
||||
{
|
||||
return new EventPartnerMain2(_json);
|
||||
}
|
||||
|
||||
public int ID { get; private set; }
|
||||
/// <summary>
|
||||
/// 主界面
|
||||
/// </summary>
|
||||
public string UIPanel { get; private set; }
|
||||
/// <summary>
|
||||
/// 玩法界面
|
||||
/// </summary>
|
||||
public string GamePanel { get; private set; }
|
||||
/// <summary>
|
||||
/// 玩法说明
|
||||
/// </summary>
|
||||
public string InfoPanel { get; private set; }
|
||||
/// <summary>
|
||||
/// 读shop表
|
||||
/// </summary>
|
||||
public int PackId { get; private set; }
|
||||
public string Icon { get; private set; }
|
||||
public string Addressable { get; private set; }
|
||||
public string Atlas { get; private set; }
|
||||
/// <summary>
|
||||
/// Init表id
|
||||
/// </summary>
|
||||
public int InitID { get; private set; }
|
||||
/// <summary>
|
||||
/// item表id
|
||||
/// </summary>
|
||||
public int ItemID { get; private set; }
|
||||
public int SpinRequire { get; private set; }
|
||||
/// <summary>
|
||||
/// 一个矿石对应多少积分
|
||||
/// </summary>
|
||||
public int MinePoint { get; private set; }
|
||||
/// <summary>
|
||||
/// 每个区域一列有多少个
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> MinePointShow { get; private set; }
|
||||
public System.Collections.Generic.List<int> SpinMag { get; private set; }
|
||||
/// <summary>
|
||||
/// 对应SpinPoint
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> SpinPoint { get; private set; }
|
||||
public System.Collections.Generic.List<int> StagePoint { get; private set; }
|
||||
public System.Collections.Generic.List<int> StageReward { get; private set; }
|
||||
/// <summary>
|
||||
/// ID
|
||||
/// </summary>
|
||||
public int Reward { get; private set; }
|
||||
|
||||
public const int __ID__ = 1571656011;
|
||||
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 + ","
|
||||
+ "UIPanel:" + UIPanel + ","
|
||||
+ "GamePanel:" + GamePanel + ","
|
||||
+ "InfoPanel:" + InfoPanel + ","
|
||||
+ "PackId:" + PackId + ","
|
||||
+ "Icon:" + Icon + ","
|
||||
+ "Addressable:" + Addressable + ","
|
||||
+ "Atlas:" + Atlas + ","
|
||||
+ "InitID:" + InitID + ","
|
||||
+ "ItemID:" + ItemID + ","
|
||||
+ "SpinRequire:" + SpinRequire + ","
|
||||
+ "MinePoint:" + MinePoint + ","
|
||||
+ "MinePointShow:" + Bright.Common.StringUtil.CollectionToString(MinePointShow) + ","
|
||||
+ "SpinMag:" + Bright.Common.StringUtil.CollectionToString(SpinMag) + ","
|
||||
+ "SpinPoint:" + Bright.Common.StringUtil.CollectionToString(SpinPoint) + ","
|
||||
+ "StagePoint:" + Bright.Common.StringUtil.CollectionToString(StagePoint) + ","
|
||||
+ "StageReward:" + Bright.Common.StringUtil.CollectionToString(StageReward) + ","
|
||||
+ "Reward:" + Reward + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user