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

Function ToggleChatIgnore

engine/Poseidon/Core/PlayerMuteIgnore.cpp:56–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56bool ToggleChatIgnore(int playerId)
57{
58 std::lock_guard<std::mutex> lk(g_lock);
59 if (g_ignoredChat.erase(playerId) != 0)
60 return false;
61 g_ignoredChat.insert(playerId);
62 return true;
63}
64
65void SetVoiceMutedAll(bool muted)
66{

Callers 2

OnButtonClickedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected