//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
using Luban;
using SimpleJSON;
namespace cfg
{
public partial class GlobalFightConfig
{
private readonly DataGlobalFight _data;
public DataGlobalFight Data => _data;
public GlobalFightConfig(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.DataGlobalFight.DeserializeDataGlobalFight(_buf[0]); }
}
///
/// 策划要求数值统一减去一个值
///
public float FightWeaponDegreeFix => _data.FightWeaponDegreeFix;
///
/// 技能横幅进入持续时间
///
public float SkillBannerEnterDuration => _data.SkillBannerEnterDuration;
///
/// 技能横幅待定持续时间
///
public float SkillBannerStayDuration => _data.SkillBannerStayDuration;
///
/// 技能横幅退出持续时间
///
public float SkillBannerExitDuration => _data.SkillBannerExitDuration;
public void ResolveRef(Tables tables)
{
_data.ResolveRef(tables);
}
}
}