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

Method CommandCallback

src/game/server/gamecontext.cpp:192–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192void CGameContext::CommandCallback(int ClientId, int FlagMask, const char *pCmd, IConsole::IResult *pResult, void *pUser)
193{
194 CGameContext *pSelf = (CGameContext *)pUser;
195 if(pSelf->m_TeeHistorianActive)
196 {
197 pSelf->m_TeeHistorian.RecordConsoleCommand(ClientId, FlagMask, pCmd, pResult);
198 }
199}
200
201CNetObj_PlayerInput CGameContext::GetLastPlayerInput(int ClientId) const
202{

Callers

nothing calls this directly

Calls 1

RecordConsoleCommandMethod · 0.80

Tested by

no test coverage detected