//------------------------------------------------------------------------------
//
// 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 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);
}
///
/// ID
///
public int Id { private set; get; }
///
/// 声音所属组
///
public string GroupName { private set; get; }
///
/// 声音所在的路径
///
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 translator)
{
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "groupName:" + GroupName + ","
+ "path:" + Path + ","
+ "}";
}
partial void PostInit();
partial void PostResolveRef();
}
}