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

#include <NetCommandMsg.h>

Inherits NetCommandMsg.

Public Member Functions

 NetFileCommandMsg ()
 
AsciiString getRealFilename ()
 
void setRealFilename (AsciiString filename)
 
AsciiString getPortableFilename ()
 
void setPortableFilename (AsciiString filename)
 
UnsignedInt getFileLength ()
 
UnsignedBytegetFileData ()
 
void setFileData (UnsignedByte *data, UnsignedInt dataLength)
 
- 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

AsciiString m_portableFilename
 
UnsignedBytem_data
 
UnsignedInt m_dataLength
 
- 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 415 of file NetCommandMsg.h.

Constructor & Destructor Documentation

◆ NetFileCommandMsg()

NetFileCommandMsg::NetFileCommandMsg ( )

Definition at line 907 of file NetCommandMsg.cpp.

Member Function Documentation

◆ getFileData()

UnsignedByte * NetFileCommandMsg::getFileData ( )

Definition at line 935 of file NetCommandMsg.cpp.

◆ getFileLength()

UnsignedInt NetFileCommandMsg::getFileLength ( )

Definition at line 931 of file NetCommandMsg.cpp.

◆ getPortableFilename()

AsciiString NetFileCommandMsg::getPortableFilename ( )
inline

Definition at line 425 of file NetCommandMsg.h.

◆ getRealFilename()

AsciiString NetFileCommandMsg::getRealFilename ( )

Definition at line 921 of file NetCommandMsg.cpp.

◆ setFileData()

void NetFileCommandMsg::setFileData ( UnsignedByte * data,
UnsignedInt dataLength )

Definition at line 939 of file NetCommandMsg.cpp.

◆ setPortableFilename()

void NetFileCommandMsg::setPortableFilename ( AsciiString filename)
inline

Definition at line 426 of file NetCommandMsg.h.

◆ setRealFilename()

void NetFileCommandMsg::setRealFilename ( AsciiString filename)

Definition at line 926 of file NetCommandMsg.cpp.

Member Data Documentation

◆ m_data

UnsignedByte* NetFileCommandMsg::m_data
protected

Definition at line 436 of file NetCommandMsg.h.

◆ m_dataLength

UnsignedInt NetFileCommandMsg::m_dataLength
protected

Definition at line 437 of file NetCommandMsg.h.

◆ m_portableFilename

AsciiString NetFileCommandMsg::m_portableFilename
protected

Definition at line 434 of file NetCommandMsg.h.


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