Files
MinFt/Client/Assets/Scripts/Tables/EventPinataPackMain.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

100 lines
3.3 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 EventPinataPackMain : Bright.Config.BeanBase
{
public JSONNode json;
public EventPinataPackMain(JSONNode _json)
{
{ if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; }
{ if(!_json["UIPanel"].IsString) { throw new SerializationException(); } UIPanel = _json["UIPanel"]; }
{ if(!_json["GamePanel"].IsString) { throw new SerializationException(); } GamePanel = _json["GamePanel"]; }
{ if(!_json["ActPrefab"].IsString) { throw new SerializationException(); } ActPrefab = _json["ActPrefab"]; }
{ if(!_json["Icon"].IsString) { throw new SerializationException(); } Icon = _json["Icon"]; }
{ if(!_json["HitTimes"].IsNumber) { throw new SerializationException(); } HitTimes = _json["HitTimes"]; }
{ if(!_json["Item"].IsNumber) { throw new SerializationException(); } Item = _json["Item"]; }
{ if(!_json["PackId"].IsNumber) { throw new SerializationException(); } PackId = _json["PackId"]; }
json = _json;
PostInit();
}
public EventPinataPackMain(int ID, string UIPanel, string GamePanel, string ActPrefab, string Icon, int HitTimes, int Item, int PackId )
{
this.ID = ID;
this.UIPanel = UIPanel;
this.GamePanel = GamePanel;
this.ActPrefab = ActPrefab;
this.Icon = Icon;
this.HitTimes = HitTimes;
this.Item = Item;
this.PackId = PackId;
PostInit();
}
public static EventPinataPackMain DeserializeEventPinataPackMain(JSONNode _json)
{
return new EventPinataPackMain(_json);
}
public int ID { get; private set; }
public string UIPanel { get; private set; }
public string GamePanel { get; private set; }
/// <summary>
/// 用于配置活动参数
/// </summary>
public string ActPrefab { get; private set; }
public string Icon { get; private set; }
public int HitTimes { get; private set; }
/// <summary>
/// 读item表
/// </summary>
public int Item { get; private set; }
/// <summary>
/// 读shop表,礼包id
/// </summary>
public int PackId { get; private set; }
public const int __ID__ = -1290143611;
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 + ","
+ "GamePanel:" + GamePanel + ","
+ "ActPrefab:" + ActPrefab + ","
+ "Icon:" + Icon + ","
+ "HitTimes:" + HitTimes + ","
+ "Item:" + Item + ","
+ "PackId:" + PackId + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}