WXGame/box1/Assets/Script/Excel/BEventgroup.cs

56 lines
1.6 KiB
C#
Raw Normal View History

2024-11-05 18:15:49 +08:00
//------------------------------------------------------------------------------
// <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 Luban;
using SimpleJSON;
namespace cfg
{
public sealed partial class BEventgroup : Luban.BeanBase
{
public BEventgroup(JSONNode _buf)
{
{ if(!_buf["ID"].IsNumber) { throw new SerializationException(); } ID = _buf["ID"]; }
{ var __json0 = _buf["Eventgroup"]; if(!__json0.IsArray) { throw new SerializationException(); } Eventgroup = new System.Collections.Generic.List<string>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { string __v0; { if(!__e0.IsString) { throw new SerializationException(); } __v0 = __e0; } Eventgroup.Add(__v0); } }
}
public static BEventgroup DeserializeBEventgroup(JSONNode _buf)
{
return new BEventgroup(_buf);
}
/// <summary>
/// #ID
/// </summary>
public readonly int ID;
/// <summary>
/// 事件组
/// </summary>
public readonly System.Collections.Generic.List<string> Eventgroup;
public const int __ID__ = 350488071;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "ID:" + ID + ","
+ "Eventgroup:" + Luban.StringUtil.CollectionToString(Eventgroup) + ","
+ "}";
}
}
}