Class WorldPacket [-] [+]
A packet used to pass messages between the server and a client.
Each packet has an opcode that determines the type of message being sent, e.g. if a CMSG_LOGOUT_REQUEST packet is sent to the server, the client has sent a message that its Player wants to logout.
The packet can contain further data, the format of which depends on the opcode.
Inherits all methods from: none
Methods
| GetBool |
Reads and returns a bool value from the WorldPacket. |
| GetDouble |
Reads and returns a double-precision floating-point value from the WorldPacket. |
| GetFloat |
Reads and returns a single-precision floating-point value from the WorldPacket. |
| GetGUID |
Reads and returns an unsigned 64-bit integer value from the WorldPacket. |
| GetInt16 |
Reads and returns a signed 16-bit integer value from the WorldPacket. |
| GetInt32 |
Reads and returns a signed 32-bit integer value from the WorldPacket. |
| GetInt8 |
Reads and returns a signed 8-bit integer value from the WorldPacket. |
| GetOpcode |
Returns the opcode of the WorldPacket. |
| GetSize |
Returns the size of the WorldPacket. |
| GetString |
Reads and returns a string value from the WorldPacket. |
| GetUInt16 |
Reads and returns an unsigned 16-bit integer value from the WorldPacket. |
| GetUInt32 |
Reads and returns an unsigned 32-bit integer value from the WorldPacket. |
| GetUInt8 |
Reads and returns an unsigned 8-bit integer value from the WorldPacket. |
| PutBool |
Writes an bool value to the WorldPacket. |
| PutDouble |
Writes a 64-bit floating-point value to the WorldPacket. |
| PutFloat |
Writes a 32-bit floating-point value to the WorldPacket. |
| PutGUID |
Writes an unsigned 64-bit integer value to the WorldPacket. |
| PutInt16 |
Writes a signed 16-bit integer value to the WorldPacket. |
| PutInt32 |
Writes a signed 32-bit integer value to the WorldPacket. |
| PutInt8 |
Writes a signed 8-bit integer value to the WorldPacket. |
| PutString |
Writes a string to the WorldPacket. |
| PutUInt16 |
Writes an unsigned 16-bit integer value to the WorldPacket. |
| PutUInt32 |
Writes an unsigned 32-bit integer value to the WorldPacket. |
| PutUInt8 |
Writes an unsigned 8-bit integer value to the WorldPacket. |
| SetOpcode |
Sets the opcode of the WorldPacket to the specified opcode. |