//------------------------------------------------------------------------------
//
// 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 SuperHunt : FishBuffType
{
public SuperHunt(JSONNode _json) : base(_json)
{
{ if(!_json["CashBonus"].IsNumber) { throw new SerializationException(); } CashBonus = _json["CashBonus"]; }
PostInit();
}
public SuperHunt(float CashBonus ) : base()
{
this.CashBonus = CashBonus;
PostInit();
}
public static SuperHunt DeserializeSuperHunt(JSONNode _json)
{
return new SuperHunt(_json);
}
///
/// 钞票提高百分比
///
public float CashBonus { get; private set; }
public const int __ID__ = 1670764942;
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 "{ "
+ "CashBonus:" + CashBonus + ","
+ "}";
}
partial void PostInit();
partial void PostResolve();
}
}