迁移数据表到 Luban,移除 JsonNet、EnumUtility

This commit is contained in:
2026-09-13 14:08:14 +08:00
parent 4003b3aaba
commit de53890de6
607 changed files with 18515 additions and 3257 deletions
@@ -0,0 +1,97 @@
//------------------------------------------------------------------------------
// <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 SoundConfig : Luban.BeanBase
{
public SoundConfig(ByteBuf _buf)
{
Id = _buf.ReadInt();
Name = _buf.ReadString();
AssetName = _buf.ReadString();
Priority = _buf.ReadInt();
Loop = _buf.ReadBool();
Volume = _buf.ReadFloat();
SpatialBlend = _buf.ReadFloat();
MaxDistance = _buf.ReadFloat();
}
public static SoundConfig DeserializeSoundConfig(ByteBuf _buf)
{
return new SoundConfig(_buf);
}
/// <summary>
/// 声音编号
/// </summary>
public readonly int Id;
/// <summary>
/// 名字
/// </summary>
public readonly string Name;
/// <summary>
/// 资源名称
/// </summary>
public readonly string AssetName;
/// <summary>
/// 优先级(默认0,128最高,-128最低)
/// </summary>
public readonly int Priority;
/// <summary>
/// 是否循环
/// </summary>
public readonly bool Loop;
/// <summary>
/// 音量(0~1)
/// </summary>
public readonly float Volume;
/// <summary>
/// 声音空间混合量(0为2D,1为3D)
/// </summary>
public readonly float SpatialBlend;
/// <summary>
/// 声音最大距离
/// </summary>
public readonly float MaxDistance;
public const int __ID__ = -1164338927;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "name:" + Name + ","
+ "assetName:" + AssetName + ","
+ "priority:" + Priority + ","
+ "loop:" + Loop + ","
+ "volume:" + Volume + ","
+ "spatialBlend:" + SpatialBlend + ","
+ "maxDistance:" + MaxDistance + ","
+ "}";
}
}
}