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

Method GetFPM

src/game/client/gameclient.h:579–579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577 }
578 int GetIngameTicks(int Tick) const { return m_IngameTicks + Tick - m_JoinTick; }
579 float GetFPM(int Tick, int TickSpeed) const { return (float)(m_Frags * TickSpeed * 60) / GetIngameTicks(Tick); }
580 };
581
582 CClientStats m_aStats[MAX_CLIENTS];

Callers 2

RenderGlobalStatsMethod · 0.80
FormatStatsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected