Files
2026-05-26 16:15:54 +08:00

83 lines
2.3 KiB
C#

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Bright.Serialization;
using System.Collections.Generic;
using SimpleJSON;
namespace cfg
{
/// <summary>
/// 消除圈
/// </summary>
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);
}
/// <summary>
/// 以目标点为圆心的圈数
/// </summary>
public int Param { get; private set; }
/// <summary>
/// 出现时的动画
/// </summary>
public string AppearAnim { get; private set; }
/// <summary>
/// 出现时的特效,在目标点处播放
/// </summary>
public string AppearFx { get; private set; }
public const int __ID__ = 1970012331;
public override int GetTypeId() => __ID__;
public override void Resolve(Dictionary<string, object> _tables)
{
base.Resolve(_tables);
PostResolve();
}
public override void TranslateText(System.Func<string, string, string> translator)
{
base.TranslateText(translator);
}
public override string ToString()
{
return "{ "
+ "Param:" + Param + ","
+ "AppearAnim:" + AppearAnim + ","
+ "AppearFx:" + AppearFx + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}