//------------------------------------------------------------------------------ // // 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 ColumnClear : DiggingItemProp { public ColumnClear(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 ColumnClear(int Param, string AppearAnim, string AppearFx ) : base() { this.Param = Param; this.AppearAnim = AppearAnim; this.AppearFx = AppearFx; PostInit(); } public static ColumnClear DeserializeColumnClear(JSONNode _json) { return new ColumnClear(_json); } /// /// 以目标点为中心,上下各多少格 /// public int Param { get; private set; } /// /// 出现时的动画 /// public string AppearAnim { get; private set; } /// /// 出现时的特效,在目标点处播放 /// public string AppearFx { get; private set; } public const int __ID__ = 807026807; 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(); } }