first commit

This commit is contained in:
2026-03-20 17:55:53 +08:00
commit 41e38311f0
327 changed files with 11557 additions and 0 deletions
@@ -0,0 +1,65 @@
using System.IO;
namespace OCES.Audio
{
/// <summary>
/// 替换策略类型
/// </summary>
public enum KillMode : byte
{
Oldest, // 打断最早开始的
Newest, // 打断最新开始的
}
/// <summary>
/// 混音分组
/// </summary>
public enum MixingType : byte
{
Sfx = 0,
Music,
Voice,
}
/// <summary>
/// 声音容器类型
/// </summary>
public enum ContainerType : byte{
Random = 0,
Sequence,
Blend,
}
public enum BlendCrossFadeType : byte
{
Exponential = 0,
Linear,
Logarithmic,
}
public enum AlignMode : byte
{
Immediate,
Beat,
Bar,
}
/// <summary>
/// 游戏状态
/// </summary>
public enum GameState
{
Home,
Game,
Win,
Lose,
Guitar,
Bass,
}
public interface IBinarySerializable
{
void DeSerialize(BinaryReader reader);
void Serialize(BinaryWriter writer);
}
}