WXGame/box1/Assets/Script/Excel/BDisplayTxtTeam.cs
2024-11-21 09:35:48 +08:00

56 lines
1.6 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 Luban;
using SimpleJSON;
namespace cfg
{
public sealed partial class BDisplayTxtTeam : Luban.BeanBase
{
public BDisplayTxtTeam(JSONNode _buf)
{
{ if(!_buf["ID"].IsNumber) { throw new SerializationException(); } ID = _buf["ID"]; }
{ var __json0 = _buf["name"]; if(!__json0.IsArray) { throw new SerializationException(); } Name = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } Name.Add(__v0); } }
}
public static BDisplayTxtTeam DeserializeBDisplayTxtTeam(JSONNode _buf)
{
return new BDisplayTxtTeam(_buf);
}
/// <summary>
/// ID
/// </summary>
public readonly int ID;
/// <summary>
/// 组ID
/// </summary>
public readonly System.Collections.Generic.List<int> Name;
public const int __ID__ = 457667245;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "ID:" + ID + ","
+ "name:" + Luban.StringUtil.CollectionToString(Name) + ","
+ "}";
}
}
}