mu3-mods/Pause/MU3.Sound/patch_SoundManager.cs

13 lines
434 B
C#

#pragma warning disable CS0626
#pragma warning disable CS0649
namespace MU3.Sound;
public class patch_SoundManager: SoundManager {
private extern HandleInfo orig_getHandle(Priority priority);
private HandleInfo getHandle(Priority priority) => orig_getHandle(priority);
private patch_SoundPlayer[] _soundPlayers;
public void pause(HandleInfo handle, bool val) {
_soundPlayers[handle.Index].pause(val);
}
}