MCPcopy Create free account
hub / github.com/crossuo/crossuo / SetSoundVolume

Method SetSoundVolume

src/Managers/ConfigManager.cpp:549–557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

547}
548
549void CConfigManager::SetSoundVolume(uint8_t val)
550{
551 if (this == &g_ConfigManager && m_SoundVolume != val)
552 {
553 g_Game.AdjustSoundEffects(g_Ticks + 100000, val);
554 }
555
556 m_SoundVolume = val;
557}
558
559void CConfigManager::SetMusicVolume(uint8_t val)
560{

Callers 3

ValueIntMethod · 0.80
GumpOptions.cppFile · 0.80
ApplyPageChangesMethod · 0.80

Calls 1

AdjustSoundEffectsMethod · 0.80

Tested by

no test coverage detected