SndInterfacePlayInterfaceSound
function · sound · primitive
- Address
0x458030· 187 bytes, up to0x4580ea- Meaning
- Plays the interface sound of a name unless suppressed or sound effects are off
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- sound/interface#interface-sounds-by-name
Finding: Interface sounds by name in sound: the interface
0x458030(name) plays the interface sound of that name: nothing for a null or empty name, while
the suppression count is above 0, or while MasterSoundEffects is 0. The name is looked up,
case-insensitively, among SoundEntries rows of type 2 (entries#interface-sound-names) and the
row's id is played with 0x458850. The suppression count is raised by 0x458f50 and lowered by
0x458f60; the UI load and the enter and leave world paths bracket themselves with the pair, so a
PlaySound during them is dropped.
The derivation is in the doc.
Callers 26
- Script::PlaySound sound
- PublishWorldMouseover ui
- CGGameUI::SelectTarget ui
- SetCursorMoney ui
- SetCursorSpell ui
- SetCursorPetAction ui
- SetCursorMacro ui
- SetCursorStablePet ui
- ClearCursor ui
- CGGameUI::DisplayError ui
- PlaySpellBookDropSound ui
- PlaySpellBookPickupSound ui
- FireTutorial ui
- ProcessTutorialTimers ui
- Script::CastPetAction ui
- AutoLootAll ui
- TakeLootRow ui
- ClickInventorySlot ui
- UseInventorySlot ui
- Script::PickupContainerItem ui
- Script::UseContainerItem ui
- SetQuestPanelText ui
- OnMoneyChanged objectlayer
- ReadGroupList objectlayer
- CGPlayer_C::OpenWrappedItem objectlayer
- TryCastSpell spell
Callees 4
- SndInterfacePlaySound sound
- CVar::Lookup cvar
- SStrCmpI storm
- SStrHashHT storm
Calls and jumps by a bare address, from tables/calls.tsv.