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