#include <NetCommandMsg.h>
Inherits NetCommandMsg.
Public Member Functions | |
| NetPlayerLeaveCommandMsg () | |
| UnsignedByte | getLeavingPlayerID () |
| void | setLeavingPlayerID (UnsignedByte id) |
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_leavingPlayerID |
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 MemoryPool * | getObjectMemoryPool ()=0 |
Definition at line 187 of file NetCommandMsg.h.
| NetPlayerLeaveCommandMsg::NetPlayerLeaveCommandMsg | ( | ) |
Constructor
Definition at line 436 of file NetCommandMsg.cpp.
| UnsignedByte NetPlayerLeaveCommandMsg::getLeavingPlayerID | ( | ) |
Get the id of the player leaving the game.
Definition at line 450 of file NetCommandMsg.cpp.
| void NetPlayerLeaveCommandMsg::setLeavingPlayerID | ( | UnsignedByte | id | ) |
Set the id of the player leaving the game.
Definition at line 457 of file NetCommandMsg.cpp.
|
protected |
Definition at line 198 of file NetCommandMsg.h.