Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
NetStats.cpp File Reference
#include "precompiled.h"
#include "NetStats.h"
#include "lib/external_libraries/enet.h"
Include dependency graph for NetStats.cpp:

Macros

#define ROW(id, title, member)
 
#define ROW(id, title, member)    m_LatchedData[i].push_back(CStr::FromUInt(host->peers[i].member));
 

Enumerations

enum  {
  Row_InData , Row_OutData , Row_LastSendTime , Row_LastRecvTime ,
  Row_NextTimeout , Row_PacketsSent , Row_PacketsLost , Row_LastRTT ,
  Row_RTT , Row_MTU , Row_ReliableInTransit , NumberRows
}
 

Macro Definition Documentation

◆ ROW [1/2]

#define ROW (   id,
  title,
  member 
)
Value:
case id: \
if (col == 0) return title; \
if (m_Peer) return CStr::FromUInt(m_Peer->member); \
return "???"

◆ ROW [2/2]

#define ROW (   id,
  title,
  member 
)     m_LatchedData[i].push_back(CStr::FromUInt(host->peers[i].member));

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
Row_InData 
Row_OutData 
Row_LastSendTime 
Row_LastRecvTime 
Row_NextTimeout 
Row_PacketsSent 
Row_PacketsLost 
Row_LastRTT 
Row_RTT 
Row_MTU 
Row_ReliableInTransit 
NumberRows