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

Method KeyLevel

src/engine/server/authmanager.cpp:158–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158int CAuthManager::KeyLevel(int Slot) const
159{
160 if(Slot < 0 || Slot >= (int)m_vKeys.size())
161 return false;
162 return m_vKeys[Slot].m_pRole->Rank();
163}
164
165const char *CAuthManager::KeyIdent(int Slot) const
166{

Callers 3

GetAuthedStateMethod · 0.80
CheckReservedSlotAuthMethod · 0.80
OnNetMsgRconAuthMethod · 0.80

Calls 1

RankMethod · 0.80

Tested by

no test coverage detected