76 lines
2.6 KiB
C#
76 lines
2.6 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 MoreFishingCash : FishBuffType
|
|
{
|
|
public MoreFishingCash(JSONNode _json) : base(_json)
|
|
{
|
|
{ var __json0 = _json["Quality"]; if(!__json0.IsArray) { throw new SerializationException(); } Quality = new System.Collections.Generic.List<int>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { int __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } Quality.Add(__v0); } }
|
|
{ var __json0 = _json["Param"]; if(!__json0.IsArray) { throw new SerializationException(); } Param = new System.Collections.Generic.List<float>(__json0.Count); foreach(JSONNode __e0 in __json0.Children) { float __v0; { if(!__e0.IsNumber) { throw new SerializationException(); } __v0 = __e0; } Param.Add(__v0); } }
|
|
PostInit();
|
|
}
|
|
|
|
public MoreFishingCash(System.Collections.Generic.List<int> Quality, System.Collections.Generic.List<float> Param ) : base()
|
|
{
|
|
this.Quality = Quality;
|
|
this.Param = Param;
|
|
PostInit();
|
|
}
|
|
|
|
public static MoreFishingCash DeserializeMoreFishingCash(JSONNode _json)
|
|
{
|
|
return new MoreFishingCash(_json);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 鱼的品质
|
|
/// </summary>
|
|
public System.Collections.Generic.List<int> Quality { get; private set; }
|
|
/// <summary>
|
|
/// 对应鱼的品质列表,每种品质鱼提升的钞票数值
|
|
/// </summary>
|
|
public System.Collections.Generic.List<float> Param { get; private set; }
|
|
|
|
public const int __ID__ = 1617406504;
|
|
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 "{ "
|
|
+ "Quality:" + Bright.Common.StringUtil.CollectionToString(Quality) + ","
|
|
+ "Param:" + Bright.Common.StringUtil.CollectionToString(Param) + ","
|
|
+ "}";
|
|
}
|
|
|
|
partial void PostInit();
|
|
partial void PostResolve();
|
|
}
|
|
}
|