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

Method NumRconCommands

src/engine/server/server.cpp:1472–1481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1470}
1471
1472int CServer::NumRconCommands(int ClientId)
1473{
1474 int Num = 0;
1475 for(const IConsole::ICommandInfo *pCmd = Console()->FirstCommandInfo(ClientId, CFGFLAG_SERVER);
1476 pCmd; pCmd = Console()->NextCommandInfo(pCmd, ClientId, CFGFLAG_SERVER))
1477 {
1478 Num++;
1479 }
1480 return Num;
1481}
1482
1483void CServer::UpdateClientRconCommands(int ClientId)
1484{

Callers

nothing calls this directly

Calls 2

FirstCommandInfoMethod · 0.80
NextCommandInfoMethod · 0.80

Tested by

no test coverage detected