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

Method AuthenticateUser

src/Server.cpp:618–629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

616
617
618void cServer::AuthenticateUser(int a_ClientID)
619{
620 cCSLock Lock(m_CSClients);
621 for (ClientList::iterator itr = m_Clients.begin(); itr != m_Clients.end(); ++itr)
622 {
623 if ((*itr)->GetUniqueID() == a_ClientID)
624 {
625 (*itr)->Authenticate();
626 return;
627 }
628 } // for itr - m_Clients[]
629}
630
631
632

Callers

nothing calls this directly

Calls 4

beginMethod · 0.80
endMethod · 0.80
GetUniqueIDMethod · 0.45
AuthenticateMethod · 0.45

Tested by

no test coverage detected