2025-12-12 13:08:23 +08:00
|
|
|
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
// <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 GlobalTrainLevelConfig
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
private readonly DataGlobalTrainLevelConfig _data;
|
|
|
|
|
|
|
|
|
|
public DataGlobalTrainLevelConfig Data => _data;
|
|
|
|
|
|
|
|
|
|
public GlobalTrainLevelConfig(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.DataGlobalTrainLevelConfig.DeserializeDataGlobalTrainLevelConfig(_buf[0]); }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 火车关卡使用的火车id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int UseTrainId => _data.UseTrainId;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 火车头出生位置
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int TrainBornCellIndex => _data.TrainBornCellIndex;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 火车达到位置-到达该位置后开始刹车
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int TrainEndCellIndex => _data.TrainEndCellIndex;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 角色开场淡出时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float FadeOutTime => _data.FadeOutTime;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 角色完全隐藏后的等待时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float WaitMidTime => _data.WaitMidTime;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 角色移动到火车上之后渐变出现时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float FadeInTime => _data.FadeInTime;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 角色完全准备就绪后,火车启动的延迟时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float WaitStartMoveTime => _data.WaitStartMoveTime;
|
2026-03-02 16:45:02 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 选关列表连线图标地址数组
|
|
|
|
|
/// </summary>
|
|
|
|
|
public System.Collections.Generic.List<string> LevelSelectLineIconPaths => _data.LevelSelectLineIconPaths;
|
2026-03-02 17:30:20 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 选关列表背景相对选关列表的滑动比例
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float LevelSelectBgSlideRatio => _data.LevelSelectBgSlideRatio;
|
2025-12-12 13:08:23 +08:00
|
|
|
|
|
|
|
|
public void ResolveRef(Tables tables)
|
|
|
|
|
{
|
|
|
|
|
_data.ResolveRef(tables);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|