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

Method GetLastPlayerInput

src/game/server/gamecontext.cpp:201–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201CNetObj_PlayerInput CGameContext::GetLastPlayerInput(int ClientId) const
202{
203 dbg_assert(0 <= ClientId && ClientId < MAX_CLIENTS, "invalid ClientId");
204 return m_aLastPlayerInput[ClientId];
205}
206
207CCharacter *CGameContext::GetPlayerChar(int ClientId)
208{

Callers 2

ForceSpawnMethod · 0.80
TryRespawnMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected