先修复一下,错误的场景 删除不必要的钓场资产 修复into场景 update:更新meta文件,修复报错 update:修复资源 修复第一章节建造 修复建造第三章 update:删除多余内容 update:更新README.md update:还原图标 update:更新README update:更新配置
129 lines
7.0 KiB
C#
129 lines
7.0 KiB
C#
//------------------------------------------------------------------------------
|
|
// <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 EventPinballCountlessMain : Bright.Config.BeanBase
|
|
{
|
|
public JSONNode json;
|
|
public EventPinballCountlessMain(JSONNode _json)
|
|
{
|
|
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
|
{ if(!_json["UIPanel"].IsString) { throw new SerializationException(); } UIPanel = _json["UIPanel"]; }
|
|
{ if(!_json["InfoPanel"].IsString) { throw new SerializationException(); } InfoPanel = _json["InfoPanel"]; }
|
|
{ if(!_json["PinballAct"].IsString) { throw new SerializationException(); } PinballAct = _json["PinballAct"]; }
|
|
{ if(!_json["Icon"].IsString) { throw new SerializationException(); } Icon = _json["Icon"]; }
|
|
{ if(!_json["SweepPackId"].IsNumber) { throw new SerializationException(); } SweepPackId = _json["SweepPackId"]; }
|
|
{ if(!_json["PackId"].IsNumber) { throw new SerializationException(); } PackId = _json["PackId"]; }
|
|
{ if(!_json["Pinball"].IsNumber) { throw new SerializationException(); } Pinball = _json["Pinball"]; }
|
|
{ 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["DiscCollisionCount"]; if(!__json0.IsArray) { throw new SerializationException(); } DiscCollisionCount = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } DiscCollisionCount.Add(__v0); } }
|
|
{ var __json0 = _json["DiscCollisionReward"]; if(!__json0.IsArray) { throw new SerializationException(); } DiscCollisionReward = new System.Collections.Generic.List<System.Collections.Generic.List<int>>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { System.Collections.Generic.List<int> __v0; { var __json1 = __e0; if(!__json1.IsArray) { throw new SerializationException(); } __v0 = new System.Collections.Generic.List<int>(__json1.Count); foreach(JSONNode __e1 in __json1.Children) { int __v1; { if(!__e1.IsNumber) { throw new SerializationException(); } __v1 = __e1; } __v0.Add(__v1); } } DiscCollisionReward.Add(__v0); } }
|
|
{ var __json0 = _json["RewardFirst"]; if(!__json0.IsArray) { throw new SerializationException(); } RewardFirst = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } RewardFirst.Add(__v0); } }
|
|
{ var __json0 = _json["RewardLoop"]; if(!__json0.IsArray) { throw new SerializationException(); } RewardLoop = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } RewardLoop.Add(__v0); } }
|
|
json = _json;
|
|
PostInit();
|
|
}
|
|
|
|
public EventPinballCountlessMain(int ID, string UIPanel, string InfoPanel, string PinballAct, string Icon, int SweepPackId, int PackId, int Pinball, System.Collections.Generic.List<int> SpinMag, System.Collections.Generic.List<int> DiscCollisionCount, System.Collections.Generic.List<System.Collections.Generic.List<int>> DiscCollisionReward, System.Collections.Generic.List<int> RewardFirst, System.Collections.Generic.List<int> RewardLoop )
|
|
{
|
|
this.ID = ID;
|
|
this.UIPanel = UIPanel;
|
|
this.InfoPanel = InfoPanel;
|
|
this.PinballAct = PinballAct;
|
|
this.Icon = Icon;
|
|
this.SweepPackId = SweepPackId;
|
|
this.PackId = PackId;
|
|
this.Pinball = Pinball;
|
|
this.SpinMag = SpinMag;
|
|
this.DiscCollisionCount = DiscCollisionCount;
|
|
this.DiscCollisionReward = DiscCollisionReward;
|
|
this.RewardFirst = RewardFirst;
|
|
this.RewardLoop = RewardLoop;
|
|
PostInit();
|
|
}
|
|
|
|
public static EventPinballCountlessMain DeserializeEventPinballCountlessMain(JSONNode _json)
|
|
{
|
|
return new EventPinballCountlessMain(_json);
|
|
}
|
|
|
|
public int ID { get; private set; }
|
|
public string UIPanel { get; private set; }
|
|
public string InfoPanel { get; private set; }
|
|
public string PinballAct { get; private set; }
|
|
public string Icon { get; private set; }
|
|
/// <summary>
|
|
/// 读shop表
|
|
/// </summary>
|
|
public int SweepPackId { get; private set; }
|
|
/// <summary>
|
|
/// 读shop表
|
|
/// </summary>
|
|
public int PackId { get; private set; }
|
|
/// <summary>
|
|
/// item表id
|
|
/// </summary>
|
|
public int Pinball { get; private set; }
|
|
public System.Collections.Generic.List<int> SpinMag { get; private set; }
|
|
/// <summary>
|
|
/// 弹在两个碟子上多少次
|
|
/// </summary>
|
|
public System.Collections.Generic.List<int> DiscCollisionCount { get; private set; }
|
|
/// <summary>
|
|
/// 分别对应两个碟子弹满了的奖励,列表循环<br/>对应Drop表主键
|
|
/// </summary>
|
|
public System.Collections.Generic.List<System.Collections.Generic.List<int>> DiscCollisionReward { get; private set; }
|
|
/// <summary>
|
|
/// 对应EventPinballCountlessReward主键
|
|
/// </summary>
|
|
public System.Collections.Generic.List<int> RewardFirst { get; private set; }
|
|
public System.Collections.Generic.List<int> RewardLoop { get; private set; }
|
|
|
|
public const int __ID__ = -1013425689;
|
|
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 + ","
|
|
+ "InfoPanel:" + InfoPanel + ","
|
|
+ "PinballAct:" + PinballAct + ","
|
|
+ "Icon:" + Icon + ","
|
|
+ "SweepPackId:" + SweepPackId + ","
|
|
+ "PackId:" + PackId + ","
|
|
+ "Pinball:" + Pinball + ","
|
|
+ "SpinMag:" + Bright.Common.StringUtil.CollectionToString(SpinMag) + ","
|
|
+ "DiscCollisionCount:" + Bright.Common.StringUtil.CollectionToString(DiscCollisionCount) + ","
|
|
+ "DiscCollisionReward:" + Bright.Common.StringUtil.CollectionToString(DiscCollisionReward) + ","
|
|
+ "RewardFirst:" + Bright.Common.StringUtil.CollectionToString(RewardFirst) + ","
|
|
+ "RewardLoop:" + Bright.Common.StringUtil.CollectionToString(RewardLoop) + ","
|
|
+ "}";
|
|
}
|
|
|
|
partial void PostInit();
|
|
partial void PostResolve();
|
|
}
|
|
}
|