先修复一下,错误的场景 删除不必要的钓场资产 修复into场景 update:更新meta文件,修复报错 update:修复资源 修复第一章节建造 修复建造第三章 update:删除多余内容 update:更新README.md update:还原图标 update:更新README update:更新配置
90 lines
2.6 KiB
C#
90 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
|
|
{
|
|
|
|
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();
|
|
}
|
|
|
|
} |