//------------------------------------------------------------------------------ // // 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 Bright.Serialization; using System.Collections.Generic; using SimpleJSON; namespace cfg { /// /// 普通积分 /// public sealed partial class NormalSpinPoint : EventPartnerSpinType { public NormalSpinPoint(JSONNode _json) : base(_json) { { if(!_json["SpinPoints"].IsNumber) { throw new SerializationException(); } SpinPoints = _json["SpinPoints"]; } PostInit(); } public NormalSpinPoint(int SpinPoints ) : base() { this.SpinPoints = SpinPoints; PostInit(); } public static NormalSpinPoint DeserializeNormalSpinPoint(JSONNode _json) { return new NormalSpinPoint(_json); } /// /// 获得的积分 /// public int SpinPoints { get; private set; } public const int __ID__ = 1041691943; public override int GetTypeId() => __ID__; public override void Resolve(Dictionary _tables) { base.Resolve(_tables); PostResolve(); } public override void TranslateText(System.Func translator) { base.TranslateText(translator); } public override string ToString() { return "{ " + "SpinPoints:" + SpinPoints + "," + "}"; } partial void PostInit(); partial void PostResolve(); } }