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

Method SetClientFlags

src/engine/server/server.cpp:487–493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485}
486
487void CServer::SetClientFlags(int ClientId, int Flags)
488{
489 if(ClientId < 0 || ClientId >= MAX_CLIENTS || m_aClients[ClientId].m_State < CClient::STATE_READY)
490 return;
491
492 m_aClients[ClientId].m_Flags = Flags;
493}
494
495void CServer::Kick(int ClientId, const char *pReason)
496{

Callers 1

OnDirectInputMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected