//------------------------------------------------------------------------------ // // 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 BombClear : DiggingItemProp { public BombClear(JSONNode _json) : base(_json) { { if(!_json["Param"].IsNumber) { throw new SerializationException(); } Param = _json["Param"]; } { if(!_json["AppearAnim"].IsString) { throw new SerializationException(); } AppearAnim = _json["AppearAnim"]; } { if(!_json["AppearFx"].IsString) { throw new SerializationException(); } AppearFx = _json["AppearFx"]; } PostInit(); } public BombClear(int Param, string AppearAnim, string AppearFx ) : base() { this.Param = Param; this.AppearAnim = AppearAnim; this.AppearFx = AppearFx; PostInit(); } public static BombClear DeserializeBombClear(JSONNode _json) { return new BombClear(_json); } /// /// 以目标点为圆心的圈数 /// public int Param { get; private set; } /// /// 出现时的动画 /// public string AppearAnim { get; private set; } /// /// 出现时的特效,在目标点处播放 /// public string AppearFx { get; private set; } public const int __ID__ = 1970012331; 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 + "," + "AppearAnim:" + AppearAnim + "," + "AppearFx:" + AppearFx + "," + "}"; } partial void PostInit(); partial void PostResolve(); } }