SMSG_CHAR_ENUM
Client Version 1.12
Response to CMSG_CHAR_ENUM.
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/character_screen/smsg_char_enum.wowm:44
.
smsg SMSG_CHAR_ENUM = 0x003B {
u8 amount_of_characters;
Character[amount_of_characters] characters;
}
Header
SMSG have a header of 4 bytes.
SMSG 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 | 2 / Little | uint16 | opcode | Opcode that determines which fields the message contains. |
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x04 | 1 / - | u8 | amount_of_characters | Client can not handle values larger than 10 |
0x05 | ? / - | Character[amount_of_characters] | characters |
Examples
Example 1
Comment
Empty character list.
0, 3, // size
59, 0, // opcode (59)
0, // amount_of_characters: u8
// characters: Character[amount_of_characters]
Client Version 2.4.3
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/character_screen/smsg_char_enum_2_4_3.wowm:3
.
smsg SMSG_CHAR_ENUM = 0x003B {
u8 amount_of_characters;
Character[amount_of_characters] characters;
}
Header
SMSG have a header of 4 bytes.
SMSG 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 | 2 / Little | uint16 | opcode | Opcode that determines which fields the message contains. |
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x04 | 1 / - | u8 | amount_of_characters | |
0x05 | ? / - | Character[amount_of_characters] | characters |
Client Version 3.3.5
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/character_screen/smsg_char_enum_3_3_5.wowm:3
.
smsg SMSG_CHAR_ENUM = 0x003B {
u8 amount_of_characters;
Character[amount_of_characters] characters;
}
Header
SMSG have a header of 4 bytes.
SMSG Header
Offset | Size / Endianness | Type | Name | Description |
---|---|---|---|---|
0x00 | 2 OR 3 / Big | uint16 OR uint16+uint8 | size | Size of the rest of the message including the opcode field but not including the size field. Wrath server messages can be 3 bytes. If the first (most significant) size byte has 0x80 set, the header will be 3 bytes, otherwise it is 2. |
- | 2 / Little | uint16 | opcode | Opcode that determines which fields the message contains. |
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | 1 / - | u8 | amount_of_characters | |
- | ? / - | Character[amount_of_characters] | characters |