迁移数据表到 Luban,移除 JsonNet、EnumUtility
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 + ","
|
||||
+ "}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user