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

Method GetCurrentTimeCp

src/game/server/teams.cpp:712–721  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

710}
711
712float *CGameTeams::GetCurrentTimeCp(CPlayer *Player)
713{
714 if(!Player)
715 return nullptr;
716
717 CCharacter *pChar = Player->GetCharacter();
718 if(pChar)
719 return pChar->m_aCurrentTimeCp;
720 return nullptr;
721}
722
723void CGameTeams::OnTeamFinish(int Team, CPlayer **Players, unsigned int Size, int TimeTicks, const char *pTimestamp)
724{

Callers

nothing calls this directly

Calls 1

GetCharacterMethod · 0.80

Tested by

no test coverage detected