//------------------------------------------------------------------------------
//
// 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 MMTEventTargetID : MMTHub
{
public MMTEventTargetID(JSONNode _json) : base(_json)
{
{ if(!_json["IDOffset"].IsNumber) { throw new SerializationException(); } IDOffset = _json["IDOffset"]; }
PostInit();
}
public MMTEventTargetID(int IDOffset ) : base()
{
this.IDOffset = IDOffset;
PostInit();
}
public static MMTEventTargetID DeserializeMMTEventTargetID(JSONNode _json)
{
return new MMTEventTargetID(_json);
}
///
/// B组相对于A组的编号offset,统一+这个数值
///
public int IDOffset { get; private set; }
public const int __ID__ = -1608122158;
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 "{ "
+ "IDOffset:" + IDOffset + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}