feat: play minimap ping sound when party members ping the map

Add playMinimapPing() to UiSoundManager with MapPing.wav (falls back to
target select sound). Play the ping sound in MSG_MINIMAP_PING handler
when the sender is not the local player. Provides audio feedback for
party member map pings, matching WoW behavior.
This commit is contained in:
Kelsi 2026-03-20 18:21:34 -07:00
parent f03ed8551b
commit 180990b9f1
3 changed files with 20 additions and 0 deletions

View file

@ -78,6 +78,9 @@ public:
// Chat notifications
void playWhisperReceived();
// Minimap ping
void playMinimapPing();
private:
struct UISample {
std::string path;
@ -126,6 +129,7 @@ private:
std::vector<UISample> selectTargetSounds_;
std::vector<UISample> deselectTargetSounds_;
std::vector<UISample> whisperSounds_;
std::vector<UISample> minimapPingSounds_;
// State tracking
float volumeScale_ = 1.0f;