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

#include <NetCommandMsg.h>

Inherits NetCommandMsg.

Public Member Functions

 NetDisconnectPlayerCommandMsg ()
 
UnsignedByte getDisconnectSlot ()
 
void setDisconnectSlot (UnsignedByte slot)
 
UnsignedInt getDisconnectFrame ()
 
void setDisconnectFrame (UnsignedInt frame)
 
- 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

UnsignedByte m_disconnectSlot
 
UnsignedInt m_disconnectFrame
 
- 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 272 of file NetCommandMsg.h.

Constructor & Destructor Documentation

◆ NetDisconnectPlayerCommandMsg()

NetDisconnectPlayerCommandMsg::NetDisconnectPlayerCommandMsg ( )

Constructor

Definition at line 602 of file NetCommandMsg.cpp.

Member Function Documentation

◆ getDisconnectFrame()

UnsignedInt NetDisconnectPlayerCommandMsg::getDisconnectFrame ( )

returns the disconnect frame

Definition at line 637 of file NetCommandMsg.cpp.

◆ getDisconnectSlot()

UnsignedByte NetDisconnectPlayerCommandMsg::getDisconnectSlot ( )

Returns the disconnecting slot number

Definition at line 616 of file NetCommandMsg.cpp.

◆ setDisconnectFrame()

void NetDisconnectPlayerCommandMsg::setDisconnectFrame ( UnsignedInt frame)

Sets the disconnect frame

Definition at line 630 of file NetCommandMsg.cpp.

◆ setDisconnectSlot()

void NetDisconnectPlayerCommandMsg::setDisconnectSlot ( UnsignedByte slot)

Sets the disconnecting slot number

Definition at line 623 of file NetCommandMsg.cpp.

Member Data Documentation

◆ m_disconnectFrame

UnsignedInt NetDisconnectPlayerCommandMsg::m_disconnectFrame
protected

Definition at line 287 of file NetCommandMsg.h.

◆ m_disconnectSlot

UnsignedByte NetDisconnectPlayerCommandMsg::m_disconnectSlot
protected

Definition at line 286 of file NetCommandMsg.h.


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