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

#include <NetCommandMsg.h>

Inherits NetCommandMsg.

Public Member Functions

 NetWrapperCommandMsg (void)
 
UnsignedBytegetData ()
 
void setData (UnsignedByte *data, UnsignedInt dataLength)
 
UnsignedInt getChunkNumber ()
 
void setChunkNumber (UnsignedInt chunkNumber)
 
UnsignedInt getNumChunks ()
 
void setNumChunks (UnsignedInt numChunks)
 
UnsignedInt getDataLength ()
 
UnsignedInt getTotalDataLength ()
 
void setTotalDataLength (UnsignedInt totalDataLength)
 
UnsignedInt getDataOffset ()
 
void setDataOffset (UnsignedInt offset)
 
UnsignedShort getWrappedCommandID ()
 
void setWrappedCommandID (UnsignedShort wrappedCommandID)
 
- 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 ()
 

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
 
- Protected Attributes inherited from NetCommandMsg
UnsignedInt m_timestamp
 
UnsignedInt m_executionFrame
 
UnsignedInt m_playerID
 
UnsignedShort m_id
 
NetCommandType m_commandType
 
Int m_referenceCount
 

Detailed Description

Definition at line 376 of file NetCommandMsg.h.

Constructor & Destructor Documentation

◆ NetWrapperCommandMsg()

NetWrapperCommandMsg::NetWrapperCommandMsg ( void )

Definition at line 826 of file NetCommandMsg.cpp.

Member Function Documentation

◆ getChunkNumber()

UnsignedInt NetWrapperCommandMsg::getChunkNumber ( )

Definition at line 872 of file NetCommandMsg.cpp.

◆ getData()

UnsignedByte * NetWrapperCommandMsg::getData ( )

Definition at line 844 of file NetCommandMsg.cpp.

◆ getDataLength()

UnsignedInt NetWrapperCommandMsg::getDataLength ( )

Definition at line 860 of file NetCommandMsg.cpp.

◆ getDataOffset()

UnsignedInt NetWrapperCommandMsg::getDataOffset ( )

Definition at line 864 of file NetCommandMsg.cpp.

◆ getNumChunks()

UnsignedInt NetWrapperCommandMsg::getNumChunks ( )

Definition at line 880 of file NetCommandMsg.cpp.

◆ getTotalDataLength()

UnsignedInt NetWrapperCommandMsg::getTotalDataLength ( )

Definition at line 888 of file NetCommandMsg.cpp.

◆ getWrappedCommandID()

UnsignedShort NetWrapperCommandMsg::getWrappedCommandID ( )

Definition at line 896 of file NetCommandMsg.cpp.

◆ setChunkNumber()

void NetWrapperCommandMsg::setChunkNumber ( UnsignedInt chunkNumber)

Definition at line 876 of file NetCommandMsg.cpp.

◆ setData()

void NetWrapperCommandMsg::setData ( UnsignedByte * data,
UnsignedInt dataLength )

Definition at line 848 of file NetCommandMsg.cpp.

◆ setDataOffset()

void NetWrapperCommandMsg::setDataOffset ( UnsignedInt offset)

Definition at line 868 of file NetCommandMsg.cpp.

◆ setNumChunks()

void NetWrapperCommandMsg::setNumChunks ( UnsignedInt numChunks)

Definition at line 884 of file NetCommandMsg.cpp.

◆ setTotalDataLength()

void NetWrapperCommandMsg::setTotalDataLength ( UnsignedInt totalDataLength)

Definition at line 892 of file NetCommandMsg.cpp.

◆ setWrappedCommandID()

void NetWrapperCommandMsg::setWrappedCommandID ( UnsignedShort wrappedCommandID)

Definition at line 900 of file NetCommandMsg.cpp.


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