80 lines
2.0 KiB
C#
80 lines
2.0 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 AlicizaX.Config;
|
|
|
|
namespace Game.Config.Tables
|
|
{
|
|
public sealed partial class Sounds : Luban.BeanBase
|
|
{
|
|
public Sounds(int Id, string GroupName, string Path)
|
|
{
|
|
this.Id = Id;
|
|
this.GroupName = GroupName;
|
|
this.Path = Path;
|
|
PostInit();
|
|
}
|
|
|
|
public Sounds(ByteBuf _buf)
|
|
{
|
|
Id = _buf.ReadInt();
|
|
GroupName = _buf.ReadString();
|
|
Path = _buf.ReadString();
|
|
// Localization Key Begin
|
|
// Localization Key End
|
|
PostInit();
|
|
}
|
|
|
|
public static Sounds DeserializeSounds(ByteBuf _buf)
|
|
{
|
|
return new Tables.Sounds(_buf);
|
|
}
|
|
|
|
/// <summary>
|
|
/// ID
|
|
/// </summary>
|
|
public int Id { private set; get; }
|
|
/// <summary>
|
|
/// 声音所属组
|
|
/// </summary>
|
|
public string GroupName { private set; get; }
|
|
/// <summary>
|
|
/// 声音所在的路径
|
|
/// </summary>
|
|
public string Path { private set; get; }
|
|
public const int __ID__ = 2052116717;
|
|
public override int GetTypeId() => __ID__;
|
|
|
|
public void ResolveRef(TablesComponent tables)
|
|
{
|
|
|
|
|
|
|
|
PostResolveRef();
|
|
}
|
|
|
|
public void TranslateText(System.Func<string, string, string> translator)
|
|
{
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return "{ "
|
|
+ "id:" + Id + ","
|
|
+ "groupName:" + GroupName + ","
|
|
+ "path:" + Path + ","
|
|
+ "}";
|
|
}
|
|
|
|
partial void PostInit();
|
|
partial void PostResolveRef();
|
|
}
|
|
}
|