52 lines
1.3 KiB
C#
52 lines
1.3 KiB
C#
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
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;
|
|
/// <summary>
|
|
/// 位置
|
|
/// </summary>
|
|
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 + ","
|
|
+ "}";
|
|
}
|
|
}
|
|
}
|
|
|