Chat¶
Namespace: ChannelToClient ยท Opcode: 0x0028 (40)
Channel-to-client chat message delivery. Carries the chat channel, sender name, and message text. Used for every chat variant except Clan and Team, which have their own dedicated packet pair.
Fields¶
| Field | Type | Modifiers | Description |
|---|---|---|---|
ChatChannel |
u16 |
โ | Chat channel enum โ determines how the client displays the message (colors, prefix, bubble, etc). Mirrors the ClientToChannel.Chat enum. |
SenderName |
string |
lensz=2, encoding=default |
Display name of the sender as shown in the client's chat window. For GM command output replies, we use a synthetic name like "[System]" or "[GM]". |
Message |
string |
lensz=2, encoding=default |
The message text. |