//------------------------------------------------------------------------------ // // 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 DailySign : Bright.Config.BeanBase { public JSONNode json; public DailySign(JSONNode _json) { { if(!_json["SignDay"].IsNumber) { throw new SerializationException(); } SignDay = _json["SignDay"]; } { if(!_json["DropID"].IsNumber) { throw new SerializationException(); } DropID = _json["DropID"]; } json = _json; PostInit(); } public DailySign(int SignDay, int DropID ) { this.SignDay = SignDay; this.DropID = DropID; PostInit(); } public static DailySign DeserializeDailySign(JSONNode _json) { return new DailySign(_json); } public int SignDay { get; private set; } /// /// 对应drop表 /// public int DropID { get; private set; } public const int __ID__ = 805935958; public override int GetTypeId() => __ID__; public void Resolve(Dictionary _tables) { PostResolve(); } public void TranslateText(System.Func translator) { } public override string ToString() { return "{ " + "SignDay:" + SignDay + "," + "DropID:" + DropID + "," + "}"; } partial void PostInit(); partial void PostResolve(); } }