//------------------------------------------------------------------------------ // // 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 Event1v1RodBuff : FishBuffType { public Event1v1RodBuff(JSONNode _json) : base(_json) { { if(!_json["Param"].IsNumber) { throw new SerializationException(); } Param = _json["Param"]; } PostInit(); } public Event1v1RodBuff(float Param ) : base() { this.Param = Param; PostInit(); } public static Event1v1RodBuff DeserializeEvent1v1RodBuff(JSONNode _json) { return new Event1v1RodBuff(_json); } /// /// 钓鱼获取的积分提升 /// public float Param { get; private set; } public const int __ID__ = -461146968; 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 "{ " + "Param:" + Param + "," + "}"; } partial void PostInit(); partial void PostResolve(); } }