//------------------------------------------------------------------------------ // // 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 Audio : Luban.BeanBase { public Audio(JSONNode _buf) { { if(!_buf["AudioID"].IsNumber) { throw new SerializationException(); } AudioID = _buf["AudioID"]; } { if(!_buf["AudioResourcesPath"].IsString) { throw new SerializationException(); } AudioResourcesPath = _buf["AudioResourcesPath"]; } } public static Audio DeserializeAudio(JSONNode _buf) { return new Audio(_buf); } public readonly int AudioID; /// /// 位置 /// public readonly string AudioResourcesPath; public const int __ID__ = 63613878; public override int GetTypeId() => __ID__; public void ResolveRef(Tables tables) { } public override string ToString() { return "{ " + "AudioID:" + AudioID + "," + "AudioResourcesPath:" + AudioResourcesPath + "," + "}"; } } }