CMSG_GOSSIP_SELECT_OPTION
Client Version 1
Wowm Representation
Autogenerated from wowm file at wow_message_parser/wowm/world/gossip/cmsg_gossip_select_option.wowm:1.
cmsg CMSG_GOSSIP_SELECT_OPTION = 0x017C {
Guid guid;
u32 gossip_list_id;
optional unknown {
CString code;
}
}
Header
CMSG have a header of 6 bytes.
CMSG Header
| Offset | Size / Endianness | Type | Name | Description |
|---|---|---|---|---|
| 0x00 | 2 / Big | uint16 | size | Size of the rest of the message including the opcode field but not including the size field. |
| 0x02 | 4 / Little | uint32 | opcode | Opcode that determines which fields the message contains. |
Body
| Offset | Size / Endianness | Type | Name | Comment |
|---|---|---|---|---|
| 0x06 | 8 / Little | Guid | guid | |
| 0x0E | 4 / Little | u32 | gossip_list_id |
Optionally the following fields can be present. This can only be detected by looking at the size of the message.
| Offset | Size / Endianness | Type | Name | Comment |
|---|---|---|---|---|
| 0x12 | - / - | CString | code | vmangos: if (_player->PlayerTalkClass->GossipOptionCoded(gossipListId)) |
Client Version 2, Client Version 3
Wowm Representation
Autogenerated from wowm file at wow_message_parser/wowm/world/gossip/cmsg_gossip_select_option.wowm:12.
cmsg CMSG_GOSSIP_SELECT_OPTION = 0x017C {
Guid guid;
u32 menu_id;
u32 gossip_list_id;
optional unknown {
CString code;
}
}
Header
CMSG have a header of 6 bytes.
CMSG Header
| Offset | Size / Endianness | Type | Name | Description |
|---|---|---|---|---|
| 0x00 | 2 / Big | uint16 | size | Size of the rest of the message including the opcode field but not including the size field. |
| 0x02 | 4 / Little | uint32 | opcode | Opcode that determines which fields the message contains. |
Body
| Offset | Size / Endianness | Type | Name | Comment |
|---|---|---|---|---|
| 0x06 | 8 / Little | Guid | guid | |
| 0x0E | 4 / Little | u32 | menu_id | |
| 0x12 | 4 / Little | u32 | gossip_list_id |
Optionally the following fields can be present. This can only be detected by looking at the size of the message.
| Offset | Size / Endianness | Type | Name | Comment |
|---|---|---|---|---|
| 0x16 | - / - | CString | code | vmangos: if (_player->PlayerTalkClass->GossipOptionCoded(gossipListId)) |