//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
using Bright.Serialization;
using System.Collections.Generic;
using SimpleJSON;
namespace cfg
{
///
/// 固定钓鱼序列
///
public sealed partial class MMTFixedFish : MMTHub
{
public MMTFixedFish(JSONNode _json) : base(_json)
{
{ var __json0 = _json["FixedFish"]; if(!__json0.IsArray) { throw new SerializationException(); } FixedFish = new System.Collections.Generic.List(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } FixedFish.Add(__v0); } }
PostInit();
}
public MMTFixedFish(System.Collections.Generic.List FixedFish ) : base()
{
this.FixedFish = FixedFish;
PostInit();
}
public static MMTFixedFish DeserializeMMTFixedFish(JSONNode _json)
{
return new MMTFixedFish(_json);
}
///
/// 直接填写新的列表
///
public System.Collections.Generic.List FixedFish { get; private set; }
public const int __ID__ = -448055400;
public override int GetTypeId() => __ID__;
public override void Resolve(Dictionary _tables)
{
base.Resolve(_tables);
PostResolve();
}
public override void TranslateText(System.Func translator)
{
base.TranslateText(translator);
}
public override string ToString()
{
return "{ "
+ "FixedFish:" + Bright.Common.StringUtil.CollectionToString(FixedFish) + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}