Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
278
int cServer::GetNumPlayers(void)
279
{
280
cCSLock Lock(m_CSPlayerCount);
281
return m_PlayerCount;
282
}
283
284
285
Callers
4
HandlePing
Method · 0.45
HandleHandshake
Method · 0.45
SendLengthlessServerPing
Method · 0.45
HandlePacketStatusRequest
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected