备份CatanBuilding瘦身独立工程
This commit is contained in:
82
Assets/Scripts/Tables/ColumnClear.cs
Normal file
82
Assets/Scripts/Tables/ColumnClear.cs
Normal file
@@ -0,0 +1,82 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 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);
|
||||
}
|
||||
|
||||
/// <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__ = 807026807;
|
||||
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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user