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

Method PlayerCreated

src/Server.cpp:167–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165
166
167void cServer::PlayerCreated(const cPlayer * a_Player)
168{
169 UNUSED(a_Player);
170 // To avoid deadlocks, the player count is not handled directly, but rather posted onto the tick thread
171 cCSLock Lock(m_CSPlayerCountDiff);
172 m_PlayerCountDiff += 1;
173}
174
175
176

Callers 1

cPlayerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected