//------------------------------------------------------------------------------
//
// 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;
namespace SepCore.Definition
{
public sealed partial class UISoundConfig : Luban.BeanBase
{
public UISoundConfig(ByteBuf _buf)
{
Id = _buf.ReadInt();
AssetName = _buf.ReadString();
Priority = _buf.ReadInt();
Volume = _buf.ReadFloat();
}
public static UISoundConfig DeserializeUISoundConfig(ByteBuf _buf)
{
return new UISoundConfig(_buf);
}
///
/// 声音编号
///
public readonly int Id;
///
/// 资源名称
///
public readonly string AssetName;
///
/// 优先级(默认0,128最高,-128最低)
///
public readonly int Priority;
///
/// 音量(0~1)
///
public readonly float Volume;
public const int __ID__ = 499313149;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "assetName:" + AssetName + ","
+ "priority:" + Priority + ","
+ "volume:" + Volume + ","
+ "}";
}
}
}