//------------------------------------------------------------------------------ // // 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 EventBlockProgressItem : Bright.Config.BeanBase { public JSONNode json; public EventBlockProgressItem(JSONNode _json) { { if(!_json["ID"].IsNumber) { throw new SerializationException(); } ID = _json["ID"]; } { if(!_json["Type"].IsNumber) { throw new SerializationException(); } Type = _json["Type"]; } { if(!_json["Param"].IsNumber) { throw new SerializationException(); } Param = _json["Param"]; } { if(!_json["Icon"].IsString) { throw new SerializationException(); } Icon = _json["Icon"]; } json = _json; PostInit(); } public EventBlockProgressItem(int ID, int Type, int Param, string Icon ) { this.ID = ID; this.Type = Type; this.Param = Param; this.Icon = Icon; PostInit(); } public static EventBlockProgressItem DeserializeEventBlockProgressItem(JSONNode _json) { return new EventBlockProgressItem(_json); } public int ID { get; private set; } /// /// 88号为礼包
99号为普通块 ///
public int Type { get; private set; } /// /// 88类型:消除后掉出几个块 /// public int Param { get; private set; } public string Icon { get; private set; } public const int __ID__ = 239288499; public override int GetTypeId() => __ID__; public void Resolve(Dictionary _tables) { PostResolve(); } public void TranslateText(System.Func translator) { } public override string ToString() { return "{ " + "ID:" + ID + "," + "Type:" + Type + "," + "Param:" + Param + "," + "Icon:" + Icon + "," + "}"; } partial void PostInit(); partial void PostResolve(); } }