//------------------------------------------------------------------------------ // // 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 PuzzleJourneyMechanism : Bright.Config.BeanBase { public JSONNode json; public PuzzleJourneyMechanism(JSONNode _json) { json = _json; PostInit(); } public PuzzleJourneyMechanism() { PostInit(); } public static PuzzleJourneyMechanism DeserializePuzzleJourneyMechanism(JSONNode _json) { string type = _json["$type"]; switch (type) { case "Puzzle_Darkness": return new Puzzle_Darkness(_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(); } }