备份CatanBuilding瘦身独立工程
This commit is contained in:
118
Assets/Scripts/Tables/TbRodOperatingStats.cs
Normal file
118
Assets/Scripts/Tables/TbRodOperatingStats.cs
Normal file
@@ -0,0 +1,118 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 TbRodOperatingStats
|
||||
{
|
||||
|
||||
private readonly RodOperatingStats _data;
|
||||
|
||||
public TbRodOperatingStats(JSONNode _json)
|
||||
{
|
||||
if(!_json.IsArray)
|
||||
{
|
||||
throw new SerializationException();
|
||||
}
|
||||
if (_json.Count != 1) throw new SerializationException("table mode=one, but size != 1");
|
||||
_data = RodOperatingStats.DeserializeRodOperatingStats(_json[0]);
|
||||
PostInit();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 连击区时,每次鱼的掉血跳字
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> MaxDrawingHP => _data.MaxDrawingHP;
|
||||
/// <summary>
|
||||
/// 进度条最左侧伤害系数
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> MinDrawingHP => _data.MinDrawingHP;
|
||||
/// <summary>
|
||||
/// 按下时,每秒前进的百分比
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> BarIncreaseFast => _data.BarIncreaseFast;
|
||||
/// <summary>
|
||||
/// 松手时,每秒后退的百分比
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> BarDecreaseFast => _data.BarDecreaseFast;
|
||||
/// <summary>
|
||||
/// 按下时,每秒前进的百分比
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> BarIncreaseSlow => _data.BarIncreaseSlow;
|
||||
/// <summary>
|
||||
/// 松手时,每秒后退的百分比
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> BarDecreaseSlow => _data.BarDecreaseSlow;
|
||||
/// <summary>
|
||||
/// 进度条最左时,进度条前进系数
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> MinDampHard => _data.MinDampHard;
|
||||
/// <summary>
|
||||
/// 进度条最右时,进度条前进系数
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> MaxDampHard => _data.MaxDampHard;
|
||||
/// <summary>
|
||||
/// 进度条最左时,进度条前进系数
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> MinDampSoft => _data.MinDampSoft;
|
||||
/// <summary>
|
||||
/// 进度条最右时,进度条前进系数
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> MaxDampSoft => _data.MaxDampSoft;
|
||||
/// <summary>
|
||||
/// 处于连击区时,每秒增加的百分比进度
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> ComboInc => _data.ComboInc;
|
||||
/// <summary>
|
||||
/// 连击区大小占进度条百分比
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> ComboZoneScale => _data.ComboZoneScale;
|
||||
/// <summary>
|
||||
/// 连击状态下,进度条前进的额外参数
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> ComboBarIncAmp => _data.ComboBarIncAmp;
|
||||
/// <summary>
|
||||
/// 连击状态下,进度条后退的额外参数
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> ComboBarDecAmp => _data.ComboBarDecAmp;
|
||||
/// <summary>
|
||||
/// 颤抖反弹数值随机参数
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> BarShakeBounceRand => _data.BarShakeBounceRand;
|
||||
/// <summary>
|
||||
/// 颤抖动画最小值
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> BarShakeMinAmp => _data.BarShakeMinAmp;
|
||||
/// <summary>
|
||||
/// 颤抖动画最大值
|
||||
/// </summary>
|
||||
public System.Collections.Generic.List<float> BarShakeMaxAmp => _data.BarShakeMaxAmp;
|
||||
|
||||
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