//------------------------------------------------------------------------------ // // 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 Luban; using SimpleJSON; namespace cfg { public sealed partial class ResourcePath : Luban.BeanBase { public ResourcePath(JSONNode _buf) { { if(!_buf["package"].IsString) { throw new SerializationException(); } Package = _buf["package"]; } { if(!_buf["location"].IsString) { throw new SerializationException(); } Location = _buf["location"]; } } public static ResourcePath DeserializeResourcePath(JSONNode _buf) { return new ResourcePath(_buf); } public readonly string Package; public readonly string Location; public const int __ID__ = -220186253; public override int GetTypeId() => __ID__; public void ResolveRef(Tables tables) { } public override string ToString() { return "{ " + "package:" + Package + "," + "location:" + Location + "," + "}"; } } }