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

Method ConKeyInputSet

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

Source from the content-addressed store, hash-verified

94};
95
96void CControls::ConKeyInputSet(IConsole::IResult *pResult, void *pUserData)
97{
98 CInputSet *pSet = (CInputSet *)pUserData;
99 if(pResult->GetInteger(0))
100 {
101 *pSet->m_apVariables[g_Config.m_ClDummy] = pSet->m_Value;
102 }
103}
104
105void CControls::ConKeyInputNextPrevWeapon(IConsole::IResult *pResult, void *pUserData)
106{

Callers

nothing calls this directly

Calls 1

GetIntegerMethod · 0.45

Tested by

no test coverage detected