69 lines
2.0 KiB
C#
69 lines
2.0 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
|
|
{
|
|
|
|
/// <summary>
|
|
/// 固定钓鱼序列
|
|
/// </summary>
|
|
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<int>(__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<int> FixedFish ) : base()
|
|
{
|
|
this.FixedFish = FixedFish;
|
|
PostInit();
|
|
}
|
|
|
|
public static MMTFixedFish DeserializeMMTFixedFish(JSONNode _json)
|
|
{
|
|
return new MMTFixedFish(_json);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 直接填写新的列表
|
|
/// </summary>
|
|
public System.Collections.Generic.List<int> FixedFish { get; private set; }
|
|
|
|
public const int __ID__ = -448055400;
|
|
public override int GetTypeId() => __ID__;
|
|
|
|
public override void Resolve(Dictionary<string, object> _tables)
|
|
{
|
|
base.Resolve(_tables);
|
|
PostResolve();
|
|
}
|
|
|
|
public override void TranslateText(System.Func<string, string, string> translator)
|
|
{
|
|
base.TranslateText(translator);
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return "{ "
|
|
+ "FixedFish:" + Bright.Common.StringUtil.CollectionToString(FixedFish) + ","
|
|
+ "}";
|
|
}
|
|
|
|
partial void PostInit();
|
|
partial void PostResolve();
|
|
}
|
|
}
|