//------------------------------------------------------------------------------ // // 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 abstract partial class DiggingItemProp : Bright.Config.BeanBase { public JSONNode json; public DiggingItemProp(JSONNode _json) { json = _json; PostInit(); } public DiggingItemProp() { PostInit(); } public static DiggingItemProp DeserializeDiggingItemProp(JSONNode _json) { string type = _json["$type"]; switch (type) { case "Normal": return new Normal(_json); case "Resource": return new Resource(_json); case "RowClear": return new RowClear(_json); case "ColumnClear": return new ColumnClear(_json); case "BombClear": return new BombClear(_json); default: throw new SerializationException(); } } public virtual void Resolve(Dictionary _tables) { PostResolve(); } public virtual void TranslateText(System.Func translator) { } public override string ToString() { return "{ " + "}"; } partial void PostInit(); partial void PostResolve(); } }