118 lines
3.9 KiB
C#
118 lines
3.9 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 Freeze : FishSpSkillLabel
|
|
{
|
|
public Freeze(JSONNode _json) : base(_json)
|
|
{
|
|
{ if(!_json["ClickCount"].IsNumber) { throw new SerializationException(); } ClickCount = _json["ClickCount"]; }
|
|
{ if(!_json["FxScreen"].IsString) { throw new SerializationException(); } FxScreen = _json["FxScreen"]; }
|
|
{ if(!_json["FxBtn"].IsString) { throw new SerializationException(); } FxBtn = _json["FxBtn"]; }
|
|
{ if(!_json["FxClick"].IsString) { throw new SerializationException(); } FxClick = _json["FxClick"]; }
|
|
{ if(!_json["FxBreak"].IsString) { throw new SerializationException(); } FxBreak = _json["FxBreak"]; }
|
|
{ if(!_json["AudioScreen"].IsString) { throw new SerializationException(); } AudioScreen = _json["AudioScreen"]; }
|
|
{ if(!_json["AudioClick"].IsString) { throw new SerializationException(); } AudioClick = _json["AudioClick"]; }
|
|
{ if(!_json["AudioBreak"].IsString) { throw new SerializationException(); } AudioBreak = _json["AudioBreak"]; }
|
|
PostInit();
|
|
}
|
|
|
|
public Freeze(int ClickCount, string FxScreen, string FxBtn, string FxClick, string FxBreak, string AudioScreen, string AudioClick, string AudioBreak ) : base()
|
|
{
|
|
this.ClickCount = ClickCount;
|
|
this.FxScreen = FxScreen;
|
|
this.FxBtn = FxBtn;
|
|
this.FxClick = FxClick;
|
|
this.FxBreak = FxBreak;
|
|
this.AudioScreen = AudioScreen;
|
|
this.AudioClick = AudioClick;
|
|
this.AudioBreak = AudioBreak;
|
|
PostInit();
|
|
}
|
|
|
|
public static Freeze DeserializeFreeze(JSONNode _json)
|
|
{
|
|
return new Freeze(_json);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 解锁需要的点击次数
|
|
/// </summary>
|
|
public int ClickCount { get; private set; }
|
|
/// <summary>
|
|
/// 全屏特效
|
|
/// </summary>
|
|
public string FxScreen { get; private set; }
|
|
/// <summary>
|
|
/// 按钮处特效
|
|
/// </summary>
|
|
public string FxBtn { get; private set; }
|
|
/// <summary>
|
|
/// 点击时,按钮处的特效
|
|
/// </summary>
|
|
public string FxClick { get; private set; }
|
|
/// <summary>
|
|
/// 到达解锁需要的点击次数时,全屏的特效
|
|
/// </summary>
|
|
public string FxBreak { get; private set; }
|
|
/// <summary>
|
|
/// 全屏音效
|
|
/// </summary>
|
|
public string AudioScreen { get; private set; }
|
|
/// <summary>
|
|
/// 点击时,按钮处的音效
|
|
/// </summary>
|
|
public string AudioClick { get; private set; }
|
|
/// <summary>
|
|
/// 到达解锁需要的点击次数时,全屏的音效
|
|
/// </summary>
|
|
public string AudioBreak { get; private set; }
|
|
|
|
public const int __ID__ = 2112431799;
|
|
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 "{ "
|
|
+ "ClickCount:" + ClickCount + ","
|
|
+ "FxScreen:" + FxScreen + ","
|
|
+ "FxBtn:" + FxBtn + ","
|
|
+ "FxClick:" + FxClick + ","
|
|
+ "FxBreak:" + FxBreak + ","
|
|
+ "AudioScreen:" + AudioScreen + ","
|
|
+ "AudioClick:" + AudioClick + ","
|
|
+ "AudioBreak:" + AudioBreak + ","
|
|
+ "}";
|
|
}
|
|
|
|
partial void PostInit();
|
|
partial void PostResolve();
|
|
}
|
|
}
|