MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / leaveChannel

Method leaveChannel

source/game/StarChatProcessor.cpp:98–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98bool ChatProcessor::leaveChannel(ConnectionId clientId, String const& channelName) {
99 RecursiveMutexLocker locker(m_mutex);
100 return m_channels[channelName].remove(clientId);
101}
102
103StringList ChatProcessor::clientChannels(ConnectionId clientId) const {
104 RecursiveMutexLocker locker(m_mutex);

Callers 3

updateTeamsMethod · 0.80
warpPlayersMethod · 0.80
doDisconnectionMethod · 0.80

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected