NOTE: This page is auto-generated from the MAGNET Online Packet documentation Editor module (MOPE), Any changes made directly to this page will be lost when it is regenerated. |
Description of the MangosZero packet CMSG_MESSAGECHAT
Usage
opcode sent by client when it use ANY chat (channels, say, wisper, guild, etc). Server should answer by SMSG_MESSAGECHAT
Opcode Values
Description | Value |
---|---|
Decimal Value | 149 |
Hex Value | 0x0095 |
Packet Length | 64* - Length can vary |
Packet Structure Follows:
Field Name | Field Type | Field Size | Notes |
---|---|---|---|
messageType | uint32 (default) | 32 | The type of message |
Language | uint32 (default) | 32 | The in-game language of the message. |
To/Channel | string | 0 | The name of the player the message is to or the channel it's for. Only applicable for CHAT_MSG_WHISPER and CHAT_MSG_CHANNEL . |
Message | string | 0 | The actual message text. |
Packet Example
{CLIENT} Packet: (0x0095) CMSG_MESSAGECHAT PacketSize = 22 stamp = 369068687 |------------------------------------------------|----------------| |00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |0123456789ABCDEF| |------------------------------------------------|----------------| |01 00 00 00 01 00 00 00 2E 6D 6F 64 20 73 70 65 |.........mod spe| |65 64 20 31 30 00 |ed 10. | -------------------------------------------------------------------
auto-generated by the getMaNGOS.eu MAGNET mope module
Edited by Antz
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now