MCPcopy Create free account
hub / github.com/ddnet/ddnet / PlayerModerating

Method PlayerModerating

src/game/server/gamecontext.cpp:5282–5285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5280}
5281
5282bool CGameContext::PlayerModerating() const
5283{
5284 return std::any_of(std::begin(m_apPlayers), std::end(m_apPlayers), [](const CPlayer *pPlayer) { return pPlayer && pPlayer->m_Moderating; });
5285}
5286
5287void CGameContext::ForceVote(bool Success)
5288{

Callers 3

ConModerateMethod · 0.80
TickMethod · 0.80
OnPlayerDisconnectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected