69 lines
1.7 KiB
C#
69 lines
1.7 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 SuperSavingPot : FishBuffType
|
|
{
|
|
public SuperSavingPot(JSONNode _json) : base(_json)
|
|
{
|
|
{ if(!_json["Param"].IsNumber) { throw new SerializationException(); } Param = _json["Param"]; }
|
|
PostInit();
|
|
}
|
|
|
|
public SuperSavingPot(float Param ) : base()
|
|
{
|
|
this.Param = Param;
|
|
PostInit();
|
|
}
|
|
|
|
public static SuperSavingPot DeserializeSuperSavingPot(JSONNode _json)
|
|
{
|
|
return new SuperSavingPot(_json);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 存钱罐存入速度提高百分比
|
|
/// </summary>
|
|
public float Param { get; private set; }
|
|
|
|
public const int __ID__ = -1417813024;
|
|
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 + ","
|
|
+ "}";
|
|
}
|
|
|
|
partial void PostInit();
|
|
partial void PostResolve();
|
|
}
|
|
}
|