Files
MinFt/Client/Assets/Scripts/Tables/EventMatchInit.cs
Liubing\LB 3d8d4d18f3 first commit
先修复一下,错误的场景

删除不必要的钓场资产

修复into场景

update:更新meta文件,修复报错

update:修复资源

修复第一章节建造

修复建造第三章

update:删除多余内容

update:更新README.md

update:还原图标

update:更新README

update:更新配置
2026-04-28 02:17:22 +08:00

113 lines
5.8 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 EventMatchInit : Bright.Config.BeanBase
{
public JSONNode json;
public EventMatchInit(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["SweepPackId"].IsNumber) { throw new SerializationException(); } SweepPackId = _json["SweepPackId"]; }
{ if(!_json["PackId"].IsNumber) { throw new SerializationException(); } PackId = _json["PackId"]; }
{ if(!_json["Icon"].IsString) { throw new SerializationException(); } Icon = _json["Icon"]; }
{ var __json0 = _json["EventItemList"]; if(!__json0.IsArray) { throw new SerializationException(); } EventItemList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } EventItemList.Add(__v0); } }
{ var __json0 = _json["EventSpecialItemList"]; if(!__json0.IsArray) { throw new SerializationException(); } EventSpecialItemList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } EventSpecialItemList.Add(__v0); } }
{ if(!_json["ItemID"].IsNumber) { throw new SerializationException(); } ItemID = _json["ItemID"]; }
{ var __json0 = _json["StageListRound1"]; if(!__json0.IsArray) { throw new SerializationException(); } StageListRound1 = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } StageListRound1.Add(__v0); } }
{ var __json0 = _json["StageListRound2"]; if(!__json0.IsArray) { throw new SerializationException(); } StageListRound2 = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } StageListRound2.Add(__v0); } }
{ if(!_json["MatchOpenPrefab"].IsString) { throw new SerializationException(); } MatchOpenPrefab = _json["MatchOpenPrefab"]; }
json = _json;
PostInit();
}
public EventMatchInit(int ID, string UIPanel, string InfoPanel, int SweepPackId, int PackId, string Icon, System.Collections.Generic.List<int> EventItemList, System.Collections.Generic.List<int> EventSpecialItemList, int ItemID, System.Collections.Generic.List<int> StageListRound1, System.Collections.Generic.List<int> StageListRound2, string MatchOpenPrefab )
{
this.ID = ID;
this.UIPanel = UIPanel;
this.InfoPanel = InfoPanel;
this.SweepPackId = SweepPackId;
this.PackId = PackId;
this.Icon = Icon;
this.EventItemList = EventItemList;
this.EventSpecialItemList = EventSpecialItemList;
this.ItemID = ItemID;
this.StageListRound1 = StageListRound1;
this.StageListRound2 = StageListRound2;
this.MatchOpenPrefab = MatchOpenPrefab;
PostInit();
}
public static EventMatchInit DeserializeEventMatchInit(JSONNode _json)
{
return new EventMatchInit(_json);
}
public int ID { get; private set; }
public string UIPanel { get; private set; }
public string InfoPanel { get; private set; }
public int SweepPackId { get; private set; }
/// <summary>
/// 读shop表
/// </summary>
public int PackId { get; private set; }
public string Icon { get; private set; }
public System.Collections.Generic.List<int> EventItemList { get; private set; }
public System.Collections.Generic.List<int> EventSpecialItemList { get; private set; }
/// <summary>
/// item表id
/// </summary>
public int ItemID { get; private set; }
public System.Collections.Generic.List<int> StageListRound1 { get; private set; }
public System.Collections.Generic.List<int> StageListRound2 { get; private set; }
public string MatchOpenPrefab { get; private set; }
public const int __ID__ = 567611163;
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 + ","
+ "SweepPackId:" + SweepPackId + ","
+ "PackId:" + PackId + ","
+ "Icon:" + Icon + ","
+ "EventItemList:" + Bright.Common.StringUtil.CollectionToString(EventItemList) + ","
+ "EventSpecialItemList:" + Bright.Common.StringUtil.CollectionToString(EventSpecialItemList) + ","
+ "ItemID:" + ItemID + ","
+ "StageListRound1:" + Bright.Common.StringUtil.CollectionToString(StageListRound1) + ","
+ "StageListRound2:" + Bright.Common.StringUtil.CollectionToString(StageListRound2) + ","
+ "MatchOpenPrefab:" + MatchOpenPrefab + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}