可能的性能优化
This commit is contained in:
@@ -136,19 +136,4 @@ namespace OCES.Audio
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
// ─────────────────────────────────────────────
|
||||
// 辅助接口,让泛型方法同时处理 MusicPath 和 AmbiencePath
|
||||
// ─────────────────────────────────────────────
|
||||
|
||||
public interface IPathEntry
|
||||
{
|
||||
uint Id { get; }
|
||||
string Path { get; }
|
||||
uint ContainerId { get; }
|
||||
int Priority { get; }
|
||||
}
|
||||
|
||||
public partial class MusicPath : IPathEntry { }
|
||||
public partial class AmbiencePath : IPathEntry { }
|
||||
}
|
||||
Reference in New Issue
Block a user