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...")
 
m (Remove incorrect size)
Line 3: Line 3:
= Packet Layout =
= Packet Layout =


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


== Body ==
== Body ==

Revision as of 17:04, 25 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.
- 1 / - uint8 race
- 1 / - uint8 gender
- 1 / - uint8 class