| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- //------------------------------------------------------------------------------
- // <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 sealed partial class CampBuffParam : Luban.BeanBase
- {
- public CampBuffParam(JSONNode _buf)
- {
- { var _j = _buf["HitProbability"]; if (_j.Tag != JSONNodeType.None && _j.Tag != JSONNodeType.NullValue) { { if(!_j.IsNumber) { throw new SerializationException(); } HitProbability = _j; } } else { HitProbability = null; } }
- { var _j = _buf["Buff1"]; if (_j.Tag != JSONNodeType.None && _j.Tag != JSONNodeType.NullValue) { { if(!_j.IsNumber) { throw new SerializationException(); } Buff1 = _j; } } else { Buff1 = null; } }
- }
- public static CampBuffParam DeserializeCampBuffParam(JSONNode _buf)
- {
- return new CampBuffParam(_buf);
- }
- public readonly int? HitProbability;
- public readonly int? Buff1;
-
- public const int __ID__ = 369699417;
- public override int GetTypeId() => __ID__;
- public void ResolveRef(Tables tables)
- {
- }
- public override string ToString()
- {
- return "{ "
- + "HitProbability:" + HitProbability + ","
- + "Buff1:" + Buff1 + ","
- + "}";
- }
- }
- }
|