先修复一下,错误的场景 删除不必要的钓场资产 修复into场景 update:更新meta文件,修复报错 update:修复资源 修复第一章节建造 修复建造第三章 update:删除多余内容 update:更新README.md update:还原图标 update:更新README update:更新配置
133 lines
7.0 KiB
C#
133 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 EventSmashMain : Bright.Config.BeanBase
|
|
{
|
|
public JSONNode json;
|
|
public EventSmashMain(JSONNode _json)
|
|
{
|
|
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
|
|
{ if(!_json["ItemID"].IsNumber) { throw new SerializationException(); } ItemID = _json["ItemID"]; }
|
|
{ if(!_json["UIPanel"].IsString) { throw new SerializationException(); } UIPanel = _json["UIPanel"]; }
|
|
{ if(!_json["InfoPanel"].IsString) { throw new SerializationException(); } InfoPanel = _json["InfoPanel"]; }
|
|
{ if(!_json["Icon"].IsString) { throw new SerializationException(); } Icon = _json["Icon"]; }
|
|
{ if(!_json["BattlePassId"].IsNumber) { throw new SerializationException(); } BattlePassId = _json["BattlePassId"]; }
|
|
{ if(!_json["BattlePassPanel"].IsString) { throw new SerializationException(); } BattlePassPanel = _json["BattlePassPanel"]; }
|
|
{ if(!_json["PackID"].IsNumber) { throw new SerializationException(); } PackID = _json["PackID"]; }
|
|
{ if(!_json["PackPanel"].IsString) { throw new SerializationException(); } PackPanel = _json["PackPanel"]; }
|
|
{ var __json0 = _json["CollectionIcon"]; if(!__json0.IsArray) { throw new SerializationException(); } CollectionIcon = new System.Collections.Generic.List<string>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { string __v0; { if(!__e0.IsString) { throw new SerializationException(); } __v0 = __e0; } CollectionIcon.Add(__v0); } }
|
|
{ var __json0 = _json["StageItemProb1"]; if(!__json0.IsArray) { throw new SerializationException(); } StageItemProb1 = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } StageItemProb1.Add(__v0); } }
|
|
{ var __json0 = _json["StageItemProb2"]; if(!__json0.IsArray) { throw new SerializationException(); } StageItemProb2 = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } StageItemProb2.Add(__v0); } }
|
|
{ var __json0 = _json["StageItemIcon"]; if(!__json0.IsArray) { throw new SerializationException(); } StageItemIcon = new System.Collections.Generic.List<string>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { string __v0; { if(!__e0.IsString) { throw new SerializationException(); } __v0 = __e0; } StageItemIcon.Add(__v0); } }
|
|
{ var __json0 = _json["StageItemFlatIcon"]; if(!__json0.IsArray) { throw new SerializationException(); } StageItemFlatIcon = new System.Collections.Generic.List<string>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { string __v0; { if(!__e0.IsString) { throw new SerializationException(); } __v0 = __e0; } StageItemFlatIcon.Add(__v0); } }
|
|
json = _json;
|
|
PostInit();
|
|
}
|
|
|
|
public EventSmashMain(int ID, int ItemID, string UIPanel, string InfoPanel, string Icon, int BattlePassId, string BattlePassPanel, int PackID, string PackPanel, System.Collections.Generic.List<string> CollectionIcon, System.Collections.Generic.List<int> StageItemProb1, System.Collections.Generic.List<int> StageItemProb2, System.Collections.Generic.List<string> StageItemIcon, System.Collections.Generic.List<string> StageItemFlatIcon )
|
|
{
|
|
this.ID = ID;
|
|
this.ItemID = ItemID;
|
|
this.UIPanel = UIPanel;
|
|
this.InfoPanel = InfoPanel;
|
|
this.Icon = Icon;
|
|
this.BattlePassId = BattlePassId;
|
|
this.BattlePassPanel = BattlePassPanel;
|
|
this.PackID = PackID;
|
|
this.PackPanel = PackPanel;
|
|
this.CollectionIcon = CollectionIcon;
|
|
this.StageItemProb1 = StageItemProb1;
|
|
this.StageItemProb2 = StageItemProb2;
|
|
this.StageItemIcon = StageItemIcon;
|
|
this.StageItemFlatIcon = StageItemFlatIcon;
|
|
PostInit();
|
|
}
|
|
|
|
public static EventSmashMain DeserializeEventSmashMain(JSONNode _json)
|
|
{
|
|
return new EventSmashMain(_json);
|
|
}
|
|
|
|
public int ID { get; private set; }
|
|
/// <summary>
|
|
/// item表主键
|
|
/// </summary>
|
|
public int ItemID { get; private set; }
|
|
public string UIPanel { get; private set; }
|
|
public string InfoPanel { get; private set; }
|
|
public string Icon { get; private set; }
|
|
/// <summary>
|
|
/// MiniBattlePass表主键
|
|
/// </summary>
|
|
public int BattlePassId { get; private set; }
|
|
public string BattlePassPanel { get; private set; }
|
|
/// <summary>
|
|
/// 对应shop.packagemanager主键
|
|
/// </summary>
|
|
public int PackID { get; private set; }
|
|
public string PackPanel { get; private set; }
|
|
/// <summary>
|
|
/// 三种收集道具的icon
|
|
/// </summary>
|
|
public System.Collections.Generic.List<string> CollectionIcon { get; private set; }
|
|
/// <summary>
|
|
/// 三种收集道具的掉落概率
|
|
/// </summary>
|
|
public System.Collections.Generic.List<int> StageItemProb1 { get; private set; }
|
|
/// <summary>
|
|
/// 三种收集道具的掉落概率
|
|
/// </summary>
|
|
public System.Collections.Generic.List<int> StageItemProb2 { get; private set; }
|
|
public System.Collections.Generic.List<string> StageItemIcon { get; private set; }
|
|
public System.Collections.Generic.List<string> StageItemFlatIcon { get; private set; }
|
|
|
|
public const int __ID__ = -1472821157;
|
|
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 + ","
|
|
+ "ItemID:" + ItemID + ","
|
|
+ "UIPanel:" + UIPanel + ","
|
|
+ "InfoPanel:" + InfoPanel + ","
|
|
+ "Icon:" + Icon + ","
|
|
+ "BattlePassId:" + BattlePassId + ","
|
|
+ "BattlePassPanel:" + BattlePassPanel + ","
|
|
+ "PackID:" + PackID + ","
|
|
+ "PackPanel:" + PackPanel + ","
|
|
+ "CollectionIcon:" + Bright.Common.StringUtil.CollectionToString(CollectionIcon) + ","
|
|
+ "StageItemProb1:" + Bright.Common.StringUtil.CollectionToString(StageItemProb1) + ","
|
|
+ "StageItemProb2:" + Bright.Common.StringUtil.CollectionToString(StageItemProb2) + ","
|
|
+ "StageItemIcon:" + Bright.Common.StringUtil.CollectionToString(StageItemIcon) + ","
|
|
+ "StageItemFlatIcon:" + Bright.Common.StringUtil.CollectionToString(StageItemFlatIcon) + ","
|
|
+ "}";
|
|
}
|
|
|
|
partial void PostInit();
|
|
partial void PostResolve();
|
|
}
|
|
}
|