//------------------------------------------------------------------------------
//
// 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 SceneConfig : Luban.BeanBase
{
public SceneConfig(ByteBuf _buf)
{
Id = _buf.ReadInt();
AssetName = _buf.ReadString();
BackgroundMusicId = _buf.ReadInt();
}
public static SceneConfig DeserializeSceneConfig(ByteBuf _buf)
{
return new SceneConfig(_buf);
}
///
/// 场景编号
///
public readonly int Id;
///
/// 资源名称
///
public readonly string AssetName;
///
/// 背景音乐编号
///
public readonly int BackgroundMusicId;
public const int __ID__ = 935827150;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "assetName:" + AssetName + ","
+ "backgroundMusicId:" + BackgroundMusicId + ","
+ "}";
}
}
}