96 lines
2.9 KiB
C#
96 lines
2.9 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 Luban;
|
|
using SimpleJSON;
|
|
|
|
|
|
namespace cfg
|
|
{
|
|
public partial class GlobalVehicleInWaterConfig
|
|
{
|
|
|
|
private readonly DataGlobalVehicleInWaterConfig _data;
|
|
|
|
public DataGlobalVehicleInWaterConfig Data => _data;
|
|
|
|
public GlobalVehicleInWaterConfig(JSONNode _buf)
|
|
{
|
|
int n = _buf.Count;
|
|
if (n != 1) throw new SerializationException("table mode=one, but size != 1");
|
|
{ if(!_buf[0].IsObject) { throw new SerializationException(); } _data = global::cfg.DataGlobalVehicleInWaterConfig.DeserializeDataGlobalVehicleInWaterConfig(_buf[0]); }
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 等待时间A
|
|
/// </summary>
|
|
public float EnterWater1WaitTime => _data.EnterWater1WaitTime;
|
|
/// <summary>
|
|
/// 下陷旋转速度A
|
|
/// </summary>
|
|
public float EnterWater2RotateSpeedA => _data.EnterWater2RotateSpeedA;
|
|
/// <summary>
|
|
/// 直线下陷的速度C
|
|
/// </summary>
|
|
public float EnterWater2DownSpeedC => _data.EnterWater2DownSpeedC;
|
|
/// <summary>
|
|
/// 回转的角度A
|
|
/// </summary>
|
|
public float EnterWater3RotateAngleA => _data.EnterWater3RotateAngleA;
|
|
/// <summary>
|
|
/// 回转的速度B
|
|
/// </summary>
|
|
public float EnterWater3RotateSpeedB => _data.EnterWater3RotateSpeedB;
|
|
/// <summary>
|
|
/// 前后轮运动间隔时间
|
|
/// </summary>
|
|
public float EnterWater4WaitTime => _data.EnterWater4WaitTime;
|
|
/// <summary>
|
|
/// 下陷旋转速度A
|
|
/// </summary>
|
|
public float EnterWater5RotateSpeedA => _data.EnterWater5RotateSpeedA;
|
|
/// <summary>
|
|
/// 来回往复运动:高度
|
|
/// </summary>
|
|
public float OnWater1Height => _data.OnWater1Height;
|
|
/// <summary>
|
|
/// 来回往复运动:速率
|
|
/// </summary>
|
|
public float OnWater1Speed => _data.OnWater1Speed;
|
|
/// <summary>
|
|
/// 等待时间A
|
|
/// </summary>
|
|
public float ExitWater1WaitTime => _data.ExitWater1WaitTime;
|
|
/// <summary>
|
|
/// 上升旋转速度A
|
|
/// </summary>
|
|
public float ExitWater2RotateSpeedA => _data.ExitWater2RotateSpeedA;
|
|
/// <summary>
|
|
/// 直线上升的速度B
|
|
/// </summary>
|
|
public float ExitWater2UpSpeedB => _data.ExitWater2UpSpeedB;
|
|
/// <summary>
|
|
/// 前后轮运动间隔时间
|
|
/// </summary>
|
|
public float ExitWater3WaitTime => _data.ExitWater3WaitTime;
|
|
/// <summary>
|
|
/// 上升旋转速度A
|
|
/// </summary>
|
|
public float ExitWater4RotateSpeedA => _data.ExitWater4RotateSpeedA;
|
|
|
|
public void ResolveRef(Tables tables)
|
|
{
|
|
_data.ResolveRef(tables);
|
|
}
|
|
}
|
|
|
|
}
|
|
|