//------------------------------------------------------------------------------ // // 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 void ResolveRef(Tables tables) { _data.ResolveRef(tables); } } }