备份CatanBuilding瘦身独立工程
This commit is contained in:
90
Assets/Scripts/Tables/TbConstructionInfiniteConfig.cs
Normal file
90
Assets/Scripts/Tables/TbConstructionInfiniteConfig.cs
Normal file
@@ -0,0 +1,90 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 TbConstructionInfiniteConfig
|
||||
{
|
||||
|
||||
private readonly ConstructionInfiniteConfig _data;
|
||||
|
||||
public TbConstructionInfiniteConfig(JSONNode _json)
|
||||
{
|
||||
if(!_json.IsArray)
|
||||
{
|
||||
throw new SerializationException();
|
||||
}
|
||||
if (_json.Count != 1) throw new SerializationException("table mode=one, but size != 1");
|
||||
_data = ConstructionInfiniteConfig.DeserializeConstructionInfiniteConfig(_json[0]);
|
||||
PostInit();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 重置消耗钻石
|
||||
/// </summary>
|
||||
public int ResetCost => _data.ResetCost;
|
||||
/// <summary>
|
||||
/// 基础消耗钞票
|
||||
/// </summary>
|
||||
public int BasicCost => _data.BasicCost;
|
||||
/// <summary>
|
||||
/// perfect的返还钞票百分比
|
||||
/// </summary>
|
||||
public float PerfectReturnPoint => _data.PerfectReturnPoint;
|
||||
/// <summary>
|
||||
/// 钞票消耗的倍率序列
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> CashMagList => _data.CashMagList;
|
||||
/// <summary>
|
||||
/// 普通积分区间
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> GoodRankClamp => _data.GoodRankClamp;
|
||||
/// <summary>
|
||||
/// 优秀积分区间
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<int> FantasticRankClamp => _data.FantasticRankClamp;
|
||||
/// <summary>
|
||||
/// 普通返还钞票百分比
|
||||
/// </summary>
|
||||
public float GoodReturnPoint => _data.GoodReturnPoint;
|
||||
/// <summary>
|
||||
/// 优秀返还钞票百分比
|
||||
/// </summary>
|
||||
public float FantasticReturnPoint => _data.FantasticReturnPoint;
|
||||
/// <summary>
|
||||
/// 每次连击返还钞票
|
||||
/// </summary>
|
||||
public float ComboOnceReturnPoint => _data.ComboOnceReturnPoint;
|
||||
/// <summary>
|
||||
/// 返还钞票计算的连击上限
|
||||
/// </summary>
|
||||
public int ComboReturnMaxCount => _data.ComboReturnMaxCount;
|
||||
|
||||
public void Resolve(Dictionary<string, object> _tables)
|
||||
{
|
||||
_data.Resolve(_tables);
|
||||
PostResolve();
|
||||
}
|
||||
|
||||
public void TranslateText(System.Func<string, string, string> translator)
|
||||
{
|
||||
_data.TranslateText(translator);
|
||||
}
|
||||
|
||||
|
||||
partial void PostInit();
|
||||
partial void PostResolve();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user