先修复一下,错误的场景 删除不必要的钓场资产 修复into场景 update:更新meta文件,修复报错 update:修复资源 修复第一章节建造 修复建造第三章 update:删除多余内容 update:更新README.md update:还原图标 update:更新README update:更新配置
157 lines
8.4 KiB
C#
157 lines
8.4 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 EventMowForTreasureMain : Bright.Config.BeanBase
|
|
{
|
|
public JSONNode json;
|
|
public EventMowForTreasureMain(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["GuidePanel"].IsString) { throw new SerializationException(); } GuidePanel = _json["GuidePanel"]; }
|
|
{ if(!_json["Icon"].IsString) { throw new SerializationException(); } Icon = _json["Icon"]; }
|
|
{ if(!_json["ChainPackID"].IsNumber) { throw new SerializationException(); } ChainPackID = _json["ChainPackID"]; }
|
|
{ if(!_json["PackPackID"].IsNumber) { throw new SerializationException(); } PackPackID = _json["PackPackID"]; }
|
|
{ if(!_json["ChainPackPanel"].IsString) { throw new SerializationException(); } ChainPackPanel = _json["ChainPackPanel"]; }
|
|
{ if(!_json["PackPanel"].IsString) { throw new SerializationException(); } PackPanel = _json["PackPanel"]; }
|
|
{ if(!_json["AdPackId"].IsNumber) { throw new SerializationException(); } AdPackId = _json["AdPackId"]; }
|
|
{ var __json0 = _json["ToolInitCount"]; if(!__json0.IsArray) { throw new SerializationException(); } ToolInitCount = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } ToolInitCount.Add(__v0); } }
|
|
{ var __json0 = _json["ToolExchangeRate"]; if(!__json0.IsArray) { throw new SerializationException(); } ToolExchangeRate = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } ToolExchangeRate.Add(__v0); } }
|
|
{ var __json0 = _json["ToolConfigList"]; if(!__json0.IsArray) { throw new SerializationException(); } ToolConfigList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } ToolConfigList.Add(__v0); } }
|
|
{ var __json0 = _json["FixedStageList"]; if(!__json0.IsArray) { throw new SerializationException(); } FixedStageList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } FixedStageList.Add(__v0); } }
|
|
{ var __json0 = _json["LoopStageList"]; if(!__json0.IsArray) { throw new SerializationException(); } LoopStageList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } LoopStageList.Add(__v0); } }
|
|
{ var __json0 = _json["CollectionID"]; if(!__json0.IsArray) { throw new SerializationException(); } CollectionID = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } CollectionID.Add(__v0); } }
|
|
json = _json;
|
|
PostInit();
|
|
}
|
|
|
|
public EventMowForTreasureMain(int ID, int ItemID, string UIPanel, string InfoPanel, string GuidePanel, string Icon, int ChainPackID, int PackPackID, string ChainPackPanel, string PackPanel, int AdPackId, System.Collections.Generic.List<int> ToolInitCount, System.Collections.Generic.List<int> ToolExchangeRate, System.Collections.Generic.List<int> ToolConfigList, System.Collections.Generic.List<int> FixedStageList, System.Collections.Generic.List<int> LoopStageList, System.Collections.Generic.List<int> CollectionID )
|
|
{
|
|
this.ID = ID;
|
|
this.ItemID = ItemID;
|
|
this.UIPanel = UIPanel;
|
|
this.InfoPanel = InfoPanel;
|
|
this.GuidePanel = GuidePanel;
|
|
this.Icon = Icon;
|
|
this.ChainPackID = ChainPackID;
|
|
this.PackPackID = PackPackID;
|
|
this.ChainPackPanel = ChainPackPanel;
|
|
this.PackPanel = PackPanel;
|
|
this.AdPackId = AdPackId;
|
|
this.ToolInitCount = ToolInitCount;
|
|
this.ToolExchangeRate = ToolExchangeRate;
|
|
this.ToolConfigList = ToolConfigList;
|
|
this.FixedStageList = FixedStageList;
|
|
this.LoopStageList = LoopStageList;
|
|
this.CollectionID = CollectionID;
|
|
PostInit();
|
|
}
|
|
|
|
public static EventMowForTreasureMain DeserializeEventMowForTreasureMain(JSONNode _json)
|
|
{
|
|
return new EventMowForTreasureMain(_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 GuidePanel { get; private set; }
|
|
public string Icon { get; private set; }
|
|
/// <summary>
|
|
/// 对应shop.packagemanager主键
|
|
/// </summary>
|
|
public int ChainPackID { get; private set; }
|
|
/// <summary>
|
|
/// 对应shop.packagemanager主键
|
|
/// </summary>
|
|
public int PackPackID { get; private set; }
|
|
public string ChainPackPanel { get; private set; }
|
|
public string PackPanel { get; private set; }
|
|
/// <summary>
|
|
/// 读shop表
|
|
/// </summary>
|
|
public int AdPackId { get; private set; }
|
|
/// <summary>
|
|
/// 3个工具的初始数量
|
|
/// </summary>
|
|
public System.Collections.Generic.List<int> ToolInitCount { get; private set; }
|
|
/// <summary>
|
|
/// 第2、3个工具分别能用多少个第1个工具进行兑换
|
|
/// </summary>
|
|
public System.Collections.Generic.List<int> ToolExchangeRate { get; private set; }
|
|
/// <summary>
|
|
/// 3个工具的配置
|
|
/// </summary>
|
|
public System.Collections.Generic.List<int> ToolConfigList { get; private set; }
|
|
/// <summary>
|
|
/// 活动开始时,固定走这几个关卡
|
|
/// </summary>
|
|
public System.Collections.Generic.List<int> FixedStageList { get; private set; }
|
|
/// <summary>
|
|
/// 这3个关卡循环
|
|
/// </summary>
|
|
public System.Collections.Generic.List<int> LoopStageList { get; private set; }
|
|
/// <summary>
|
|
/// 分别对应铜,银,金三种道具触发奖励的需求
|
|
/// </summary>
|
|
public System.Collections.Generic.List<int> CollectionID { get; private set; }
|
|
|
|
public const int __ID__ = 1620598966;
|
|
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 + ","
|
|
+ "GuidePanel:" + GuidePanel + ","
|
|
+ "Icon:" + Icon + ","
|
|
+ "ChainPackID:" + ChainPackID + ","
|
|
+ "PackPackID:" + PackPackID + ","
|
|
+ "ChainPackPanel:" + ChainPackPanel + ","
|
|
+ "PackPanel:" + PackPanel + ","
|
|
+ "AdPackId:" + AdPackId + ","
|
|
+ "ToolInitCount:" + Bright.Common.StringUtil.CollectionToString(ToolInitCount) + ","
|
|
+ "ToolExchangeRate:" + Bright.Common.StringUtil.CollectionToString(ToolExchangeRate) + ","
|
|
+ "ToolConfigList:" + Bright.Common.StringUtil.CollectionToString(ToolConfigList) + ","
|
|
+ "FixedStageList:" + Bright.Common.StringUtil.CollectionToString(FixedStageList) + ","
|
|
+ "LoopStageList:" + Bright.Common.StringUtil.CollectionToString(LoopStageList) + ","
|
|
+ "CollectionID:" + Bright.Common.StringUtil.CollectionToString(CollectionID) + ","
|
|
+ "}";
|
|
}
|
|
|
|
partial void PostInit();
|
|
partial void PostResolve();
|
|
}
|
|
}
|