Files
Seek-Battle-Evacuate/Assets/GameMain/Scripts/Base/Gen/SceneConfig.cs
T
2026-08-30 22:25:23 +08:00

63 lines
1.4 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;
namespace SepCore.Definition
{
public sealed partial class SceneConfig : Luban.BeanBase
{
public SceneConfig(ByteBuf _buf)
{
Id = (SceneType)_buf.ReadInt();
AssetName = _buf.ReadString();
BackgroundMusicId = _buf.ReadInt();
}
public static SceneConfig DeserializeSceneConfig(ByteBuf _buf)
{
return new SceneConfig(_buf);
}
/// <summary>
/// 场景编号
/// </summary>
public readonly SceneType Id;
/// <summary>
/// 资源名称
/// </summary>
public readonly string AssetName;
/// <summary>
/// 背景音乐编号
/// </summary>
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 + ","
+ "}";
}
}
}