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

Method Report

src/engine/server/antibot.cpp:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 pAntibot->Console()->Print(IConsole::OUTPUT_LEVEL_STANDARD, "antibot", pMessage);
35}
36void CAntibot::Report(int ClientId, const char *pMessage, void *pUser)
37{
38 char aBuf[256];
39 str_format(aBuf, sizeof(aBuf), "%d: %s", ClientId, pMessage);
40 Log(aBuf, pUser);
41}
42void CAntibot::Send(int ClientId, const void *pData, int Size, int Flags, void *pUser)
43{
44 CAntibot *pAntibot = (CAntibot *)pUser;

Callers

nothing calls this directly

Calls 2

str_formatFunction · 0.85
LogClass · 0.85

Tested by

no test coverage detected