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