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

Method NumNonDefaultKeys

src/engine/server/authmanager.cpp:222–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222int CAuthManager::NumNonDefaultKeys() const
223{
224 int DefaultCount = std::count_if(std::begin(m_aDefault), std::end(m_aDefault), [](int Slot) {
225 return Slot >= 0;
226 });
227 return m_vKeys.size() - DefaultCount;
228}
229
230CRconRole *CAuthManager::FindRole(const char *pName)
231{

Callers 4

ProcessClientPacketMethod · 0.80
ConAuthAddMethod · 0.80
ConAuthAddHashedMethod · 0.80
ConAuthRemoveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected