SMSG NAME QUERY RESPONSE: Difference between revisions

From wowdev
Jump to navigation Jump to search
(Created page with "'''SMSG_NAME_QUERY_RESPONSE''' is a World Packet that is sent as a response to a CMSG_NAME_QUERY from the client. = Packet Layout = {{SMSG_Header|opcode=0x03A|size=3...")
 
(→‎Body: Fix race, gender and class incorrectly being uint8 when they are uint32)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
= Packet Layout =
= Packet Layout =


{{SMSG_Header|opcode=0x03A|size=3}}
{{SMSG_Header|opcode=0x03A}}


== Body ==
== Body ==
Line 21: Line 21:
| - || - / Big || uint8[] || realm_name || Null terminated string. Additional realm name for cross server players. An empty string shows nothing.
| - || - / Big || uint8[] || realm_name || Null terminated string. Additional realm name for cross server players. An empty string shows nothing.
|-
|-
| - || 1 / - || uint8 || race ||
| - || 4 / - || uint32 || race ||
|-
|-
| - || 1 / - || uint8 || gender ||
| - || 4 / - || uint32 || gender ||
|-
|-
| - || 1 / - || uint8 || class ||
| - || 4 / - || uint32 || class ||
|}
|}


{{SMSG_Categories}}
{{SMSG_Categories}}

Latest revision as of 20:55, 26 July 2021

SMSG_NAME_QUERY_RESPONSE is a World Packet that is sent as a response to a CMSG_NAME_QUERY from the client.

Packet Layout

SMSG Header
Offset Size / Endianness Type Name Description
0x0 2 / Big uint16 size Size of the packet including the opcode field.
0x2 2 / Little uint16 opcode Opcode for the packet.
Determines the structure of the body.
Always 0x03A.


Body

Body
Offset Size / Endianness Type Name Description
0x0 8 / - uint64 guid GUID of the requested character.
0x8 - / Big uint8[] character_name Null terminated string. Character name.
- - / Big uint8[] realm_name Null terminated string. Additional realm name for cross server players. An empty string shows nothing.
- 4 / - uint32 race
- 4 / - uint32 gender
- 4 / - uint32 class