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

#include <NetCommandMsg.h>

Inherits NetCommandMsg.

Public Member Functions

 NetChatCommandMsg ()
 
UnicodeString getText ()
 
void setText (UnicodeString text)
 
Int getPlayerMask (void)
 
void setPlayerMask (Int playerMask)
 
- 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

UnicodeString m_text
 
Int m_playerMask
 
- 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 324 of file NetCommandMsg.h.

Constructor & Destructor Documentation

◆ NetChatCommandMsg()

NetChatCommandMsg::NetChatCommandMsg ( )

Constructor

Definition at line 709 of file NetCommandMsg.cpp.

Member Function Documentation

◆ getPlayerMask()

Int NetChatCommandMsg::getPlayerMask ( void )

Get the bitmask of chat recipients from this message.

Definition at line 744 of file NetCommandMsg.cpp.

◆ getText()

UnicodeString NetChatCommandMsg::getText ( )

Get the chat text for this message.

Definition at line 736 of file NetCommandMsg.cpp.

◆ setPlayerMask()

void NetChatCommandMsg::setPlayerMask ( Int playerMask)

Set a bitmask of chat recipients in this message.

Definition at line 752 of file NetCommandMsg.cpp.

◆ setText()

void NetChatCommandMsg::setText ( UnicodeString text)

Set the chat text for this message.

Definition at line 728 of file NetCommandMsg.cpp.

Member Data Documentation

◆ m_playerMask

Int NetChatCommandMsg::m_playerMask
protected

Definition at line 339 of file NetCommandMsg.h.

◆ m_text

UnicodeString NetChatCommandMsg::m_text
protected

Definition at line 338 of file NetCommandMsg.h.


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