using System.IO; namespace OCES.Audio { /// /// 替换策略类型 /// public enum KillMode : byte { Oldest, // 打断最早开始的 Newest, // 打断最新开始的 } /// /// 混音分组 /// public enum MixingType : byte { Sfx = 0, Music, Voice, } /// /// 声音容器类型 /// public enum ContainerType : byte{ Random = 0, Sequence, Blend, } public enum BlendCrossFadeType : byte { Exponential = 0, Linear, Logarithmic, } public enum AlignMode : byte { Immediate, Beat, Bar, } /// /// 游戏状态 /// public enum GameState { Home, Game, Win, Lose, Guitar, Bass, } public interface IBinarySerializable { void DeSerialize(BinaryReader reader); void Serialize(BinaryWriter writer); } }