MCPcopy Create free account
hub / github.com/dfranx/SHADERed / Mute

Method Mute

src/SHADERed/Objects/ObjectManager.cpp:1295–1301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1293 }
1294
1295 void ObjectManager::Mute(ObjectManagerItem* item)
1296 {
1297 if (item != nullptr) {
1298 item->SoundMuted = true;
1299 item->Sound->SetVolume(0);
1300 }
1301 }
1302 void ObjectManager::Unmute(ObjectManagerItem* item)
1303 {
1304 if (item != nullptr) {

Callers 1

UpdateMethod · 0.80

Calls 1

SetVolumeMethod · 0.80

Tested by

no test coverage detected