Files
MinFt/Client/Assets/Scripts/Tables/EventBossFightInit.cs
2026-04-27 12:07:32 +08:00

159 lines
9.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//------------------------------------------------------------------------------
// <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 EventBossFightInit : Bright.Config.BeanBase
{
public JSONNode json;
public EventBossFightInit(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["LoadingPanel"].IsString) { throw new SerializationException(); } LoadingPanel = _json["LoadingPanel"]; }
{ if(!_json["RewardPanel"].IsString) { throw new SerializationException(); } RewardPanel = _json["RewardPanel"]; }
{ if(!_json["EndingPanel"].IsString) { throw new SerializationException(); } EndingPanel = _json["EndingPanel"]; }
{ if(!_json["ReviewPanel"].IsString) { throw new SerializationException(); } ReviewPanel = _json["ReviewPanel"]; }
{ if(!_json["PackId"].IsNumber) { throw new SerializationException(); } PackId = _json["PackId"]; }
{ if(!_json["SweepPackId"].IsNumber) { throw new SerializationException(); } SweepPackId = _json["SweepPackId"]; }
{ 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["ItemID"].IsNumber) { throw new SerializationException(); } ItemID = _json["ItemID"]; }
{ if(!_json["SpinRequire"].IsNumber) { throw new SerializationException(); } SpinRequire = _json["SpinRequire"]; }
{ 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); } }
{ if(!_json["ShieldCapacity"].IsNumber) { throw new SerializationException(); } ShieldCapacity = _json["ShieldCapacity"]; }
{ var __json0 = _json["SpinPointList"]; if(!__json0.IsArray) { throw new SerializationException(); } SpinPointList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } SpinPointList.Add(__v0); } }
{ var __json0 = _json["StageList"]; if(!__json0.IsArray) { throw new SerializationException(); } StageList = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } StageList.Add(__v0); } }
{ var __json0 = _json["StageGroupList"]; if(!__json0.IsArray) { throw new SerializationException(); } StageGroupList = 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); } } StageGroupList.Add(__v0); } }
{ if(!_json["WheelIcon"].IsString) { throw new SerializationException(); } WheelIcon = _json["WheelIcon"]; }
{ if(!_json["AssetBundle"].IsString) { throw new SerializationException(); } AssetBundle = _json["AssetBundle"]; }
{ var __json0 = _json["TargetGroupByHook"]; if(!__json0.IsArray) { throw new SerializationException(); } TargetGroupByHook = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } TargetGroupByHook.Add(__v0); } }
json = _json;
PostInit();
}
public EventBossFightInit(int ID, string UIPanel, string InfoPanel, string LoadingPanel, string RewardPanel, string EndingPanel, string ReviewPanel, int PackId, int SweepPackId, string Icon, string Addressable, string Atlas, int ItemID, int SpinRequire, System.Collections.Generic.List<int> SpinMag, int ShieldCapacity, System.Collections.Generic.List<int> SpinPointList, System.Collections.Generic.List<int> StageList, System.Collections.Generic.List<System.Collections.Generic.List<int>> StageGroupList, string WheelIcon, string AssetBundle, System.Collections.Generic.List<int> TargetGroupByHook )
{
this.ID = ID;
this.UIPanel = UIPanel;
this.InfoPanel = InfoPanel;
this.LoadingPanel = LoadingPanel;
this.RewardPanel = RewardPanel;
this.EndingPanel = EndingPanel;
this.ReviewPanel = ReviewPanel;
this.PackId = PackId;
this.SweepPackId = SweepPackId;
this.Icon = Icon;
this.Addressable = Addressable;
this.Atlas = Atlas;
this.ItemID = ItemID;
this.SpinRequire = SpinRequire;
this.SpinMag = SpinMag;
this.ShieldCapacity = ShieldCapacity;
this.SpinPointList = SpinPointList;
this.StageList = StageList;
this.StageGroupList = StageGroupList;
this.WheelIcon = WheelIcon;
this.AssetBundle = AssetBundle;
this.TargetGroupByHook = TargetGroupByHook;
PostInit();
}
public static EventBossFightInit DeserializeEventBossFightInit(JSONNode _json)
{
return new EventBossFightInit(_json);
}
public int ID { get; private set; }
public string UIPanel { get; private set; }
public string InfoPanel { get; private set; }
public string LoadingPanel { get; private set; }
public string RewardPanel { get; private set; }
public string EndingPanel { get; private set; }
public string ReviewPanel { get; private set; }
/// <summary>
/// 读shop表
/// </summary>
public int PackId { get; private set; }
public int SweepPackId { get; private set; }
public string Icon { get; private set; }
public string Addressable { get; private set; }
public string Atlas { get; private set; }
/// <summary>
/// item表id
/// </summary>
public int ItemID { get; private set; }
public int SpinRequire { get; private set; }
public System.Collections.Generic.List<int> SpinMag { get; private set; }
public int ShieldCapacity { get; private set; }
public System.Collections.Generic.List<int> SpinPointList { get; private set; }
public System.Collections.Generic.List<int> StageList { get; private set; }
/// <summary>
/// 不同体力档位下的分组对应stage主键
/// </summary>
public System.Collections.Generic.List<System.Collections.Generic.List<int>> StageGroupList { get; private set; }
public string WheelIcon { get; private set; }
public string AssetBundle { get; private set; }
/// <summary>
/// 根据活动开始时,玩家当前的体力数值,采用不同任务列表
/// </summary>
public System.Collections.Generic.List<int> TargetGroupByHook { get; private set; }
public const int __ID__ = -1221891079;
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 + ","
+ "LoadingPanel:" + LoadingPanel + ","
+ "RewardPanel:" + RewardPanel + ","
+ "EndingPanel:" + EndingPanel + ","
+ "ReviewPanel:" + ReviewPanel + ","
+ "PackId:" + PackId + ","
+ "SweepPackId:" + SweepPackId + ","
+ "Icon:" + Icon + ","
+ "Addressable:" + Addressable + ","
+ "Atlas:" + Atlas + ","
+ "ItemID:" + ItemID + ","
+ "SpinRequire:" + SpinRequire + ","
+ "SpinMag:" + Bright.Common.StringUtil.CollectionToString(SpinMag) + ","
+ "ShieldCapacity:" + ShieldCapacity + ","
+ "SpinPointList:" + Bright.Common.StringUtil.CollectionToString(SpinPointList) + ","
+ "StageList:" + Bright.Common.StringUtil.CollectionToString(StageList) + ","
+ "StageGroupList:" + Bright.Common.StringUtil.CollectionToString(StageGroupList) + ","
+ "WheelIcon:" + WheelIcon + ","
+ "AssetBundle:" + AssetBundle + ","
+ "TargetGroupByHook:" + Bright.Common.StringUtil.CollectionToString(TargetGroupByHook) + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}