CMSG NAME QUERY

From wowdev
Jump to navigation Jump to search

CMSG_NAME_QUERY is a World Packet sent by the client to get the name of a player or unit. The server responds with an SMSG_NAME_QUERY_RESPONSE.

Packet Layout

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


Body
Offset Size / Endianness Type Name Description
0x0 8 / Little uint64 guid GUID of the object the name is requested for. Notice that this is not a Packed GUID.