备份CatanBuilding瘦身独立工程
This commit is contained in:
76
Assets/Scripts/Tables/RodLevelupStats.cs
Normal file
76
Assets/Scripts/Tables/RodLevelupStats.cs
Normal file
@@ -0,0 +1,76 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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
|
||||
{
|
||||
|
||||
public sealed partial class RodLevelupStats : Bright.Config.BeanBase
|
||||
{
|
||||
public JSONNode json;
|
||||
public RodLevelupStats(JSONNode _json)
|
||||
{
|
||||
{ if(!_json["Count"].IsNumber) { throw new SerializationException(); } Count = _json["Count"]; }
|
||||
{ if(!_json["PointBonus"].IsNumber) { throw new SerializationException(); } PointBonus = _json["PointBonus"]; }
|
||||
{ if(!_json["CashBonus"].IsNumber) { throw new SerializationException(); } CashBonus = _json["CashBonus"]; }
|
||||
json = _json;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public RodLevelupStats(int Count, float PointBonus, float CashBonus )
|
||||
{
|
||||
this.Count = Count;
|
||||
this.PointBonus = PointBonus;
|
||||
this.CashBonus = CashBonus;
|
||||
PostInit();
|
||||
}
|
||||
|
||||
public static RodLevelupStats DeserializeRodLevelupStats(JSONNode _json)
|
||||
{
|
||||
return new RodLevelupStats(_json);
|
||||
}
|
||||
|
||||
public int Count { get; private set; }
|
||||
/// <summary>
|
||||
/// 废弃
|
||||
/// </summary>
|
||||
public float PointBonus { get; private set; }
|
||||
/// <summary>
|
||||
/// 废弃
|
||||
/// </summary>
|
||||
public float CashBonus { get; private set; }
|
||||
|
||||
public const int __ID__ = -963565049;
|
||||
public override int GetTypeId() => __ID__;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "{ "
|
||||
+ "Count:" + Count + ","
|
||||
+ "PointBonus:" + PointBonus + ","
|
||||
+ "CashBonus:" + CashBonus + ","
|
||||
+ "}";
|
||||
}
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user