Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
NetRunAheadMetricsCommandMsg Class Reference

#include <NetCommandMsg.h>

Inherits NetCommandMsg.

Public Member Functions

 NetRunAheadMetricsCommandMsg ()
 
Real getAverageLatency ()
 
void setAverageLatency (Real avgLat)
 
Int getAverageFps ()
 
void setAverageFps (Int fps)
 
- Public Member Functions inherited from NetCommandMsg
 NetCommandMsg ()
 
UnsignedInt GetTimestamp ()
 
void SetTimestamp (UnsignedInt timestamp)
 
void setExecutionFrame (UnsignedInt frame)
 
void setPlayerID (UnsignedInt playerID)
 
void setID (UnsignedShort id)
 
UnsignedInt getExecutionFrame ()
 
UnsignedInt getPlayerID ()
 
UnsignedShort getID ()
 
void setNetCommandType (NetCommandType type)
 
NetCommandType getNetCommandType ()
 
virtual Int getSortNumber ()
 
void attach ()
 
void detach ()
 
virtual AsciiString getContentsAsAsciiString (void)
 
- Public Member Functions inherited from MemoryPoolObject
void deleteInstance ()
 

Protected Attributes

Real m_averageLatency
 
Int m_averageFps
 
- Protected Attributes inherited from NetCommandMsg
UnsignedInt m_timestamp
 
UnsignedInt m_executionFrame
 
UnsignedInt m_playerID
 
UnsignedShort m_id
 
NetCommandType m_commandType
 
Int m_referenceCount
 

Additional Inherited Members

- Protected Member Functions inherited from MemoryPoolObject
virtual ~MemoryPoolObject ()
 
void * operator new (size_t s)
 
void operator delete (void *p)
 
virtual MemoryPoolgetObjectMemoryPool ()=0
 

Detailed Description

Definition at line 202 of file NetCommandMsg.h.

Constructor & Destructor Documentation

◆ NetRunAheadMetricsCommandMsg()

NetRunAheadMetricsCommandMsg::NetRunAheadMetricsCommandMsg ( )

Constructor

Definition at line 467 of file NetCommandMsg.cpp.

Member Function Documentation

◆ getAverageFps()

Int NetRunAheadMetricsCommandMsg::getAverageFps ( )

get the average fps

Definition at line 503 of file NetCommandMsg.cpp.

◆ getAverageLatency()

Real NetRunAheadMetricsCommandMsg::getAverageLatency ( )

get the average latency

Definition at line 489 of file NetCommandMsg.cpp.

◆ setAverageFps()

void NetRunAheadMetricsCommandMsg::setAverageFps ( Int fps)

set the average fps

Definition at line 496 of file NetCommandMsg.cpp.

◆ setAverageLatency()

void NetRunAheadMetricsCommandMsg::setAverageLatency ( Real avgLat)

set the average latency

Definition at line 482 of file NetCommandMsg.cpp.

Member Data Documentation

◆ m_averageFps

Int NetRunAheadMetricsCommandMsg::m_averageFps
protected

Definition at line 216 of file NetCommandMsg.h.

◆ m_averageLatency

Real NetRunAheadMetricsCommandMsg::m_averageLatency
protected

Definition at line 215 of file NetCommandMsg.h.


The documentation for this class was generated from the following files: