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

Method ConKeyInputState

src/game/client/components/controls.cpp:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64};
65
66void CControls::ConKeyInputState(IConsole::IResult *pResult, void *pUserData)
67{
68 CInputState *pState = (CInputState *)pUserData;
69
70 if(pState->m_pControls->GameClient()->m_GameInfo.m_BugDDRaceInput && pState->m_pControls->GameClient()->m_Snap.m_SpecInfo.m_Active)
71 return;
72
73 *pState->m_apVariables[g_Config.m_ClDummy] = pResult->GetInteger(0);
74}
75
76void CControls::ConKeyInputCounter(IConsole::IResult *pResult, void *pUserData)
77{

Callers

nothing calls this directly

Calls 2

GameClientMethod · 0.45
GetIntegerMethod · 0.45

Tested by

no test coverage detected