MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / ToggleVoiceMute

Function ToggleVoiceMute

engine/Poseidon/Core/PlayerMuteIgnore.cpp:47–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47bool ToggleVoiceMute(int playerId)
48{
49 std::lock_guard<std::mutex> lk(g_lock);
50 if (g_mutedVoice.erase(playerId) != 0)
51 return false;
52 g_mutedVoice.insert(playerId);
53 return true;
54}
55
56bool ToggleChatIgnore(int playerId)
57{

Callers 2

OnButtonClickedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected