Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_StatsPanel_Latency.c
Go to the documentation of this file.
1
class
SCR_StatsPanel_Latency
:
SCR_StatsPanelBase
2
{
3
//------------------------------------------------------------------------------------------------
4
override
protected
float
GetValue()
5
{
6
RplConnectionStats stats = Replication.GetConnectionStats(m_RplIdentity);
7
8
float
value = stats.GetRoundTripTimeInMs();
9
10
#ifdef DEBUG_STATS_PANELS
11
if
(value == 0)
12
value = Math.RandomFloat(0.01,0.1);
13
14
value = value * 1000;
15
#endif
16
17
//PrintFormat("TripTime: %1", value);
18
19
return
value;
20
}
21
}
SCR_StatsPanelBase
Definition:
SCR_StatsPanelBase.c:18
SCR_StatsPanel_Latency
Definition:
SCR_StatsPanel_Latency.c:1
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
UI
HUD
StatsPanel
SCR_StatsPanel_Latency.c
Generated by
1.8.17