MCPcopy Create free account
hub / github.com/cuberite/cuberite / GetNumPlayers

Method GetNumPlayers

src/Server.cpp:278–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276
277
278int cServer::GetNumPlayers(void)
279{
280 cCSLock Lock(m_CSPlayerCount);
281 return m_PlayerCount;
282}
283
284
285

Callers 4

HandlePingMethod · 0.45
HandleHandshakeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected