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

#include <NetCommandMsg.h>

Inherits NetCommandMsg.

Public Member Functions

 NetRunAheadCommandMsg ()
 
UnsignedShort getRunAhead ()
 
void setRunAhead (UnsignedShort runAhead)
 
UnsignedByte getFrameRate ()
 
void setFrameRate (UnsignedByte frameRate)
 
- 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

UnsignedShort m_runAhead
 
UnsignedByte m_frameRate
 
- 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 220 of file NetCommandMsg.h.

Constructor & Destructor Documentation

◆ NetRunAheadCommandMsg()

NetRunAheadCommandMsg::NetRunAheadCommandMsg ( )

Definition at line 510 of file NetCommandMsg.cpp.

Member Function Documentation

◆ getFrameRate()

UnsignedByte NetRunAheadCommandMsg::getFrameRate ( )

Definition at line 527 of file NetCommandMsg.cpp.

◆ getRunAhead()

UnsignedShort NetRunAheadCommandMsg::getRunAhead ( )

Definition at line 519 of file NetCommandMsg.cpp.

◆ setFrameRate()

void NetRunAheadCommandMsg::setFrameRate ( UnsignedByte frameRate)

Definition at line 531 of file NetCommandMsg.cpp.

◆ setRunAhead()

void NetRunAheadCommandMsg::setRunAhead ( UnsignedShort runAhead)

Definition at line 523 of file NetCommandMsg.cpp.

Member Data Documentation

◆ m_frameRate

UnsignedByte NetRunAheadCommandMsg::m_frameRate
protected

Definition at line 235 of file NetCommandMsg.h.

◆ m_runAhead

UnsignedShort NetRunAheadCommandMsg::m_runAhead
protected

Definition at line 234 of file NetCommandMsg.h.


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