CMSG CHAR RENAME

From wowdev
Jump to navigation Jump to search

CMSG_CHAR_RENAME is a World Packet that is sent after the SMSG_CHAR_ENUM is received, a character has the rename flag, and the client attempts to log into the world. The client will wait for a SMSG_CHAR_RENAME as confirmation.

Packet Layout

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


Body
Offset Size / Endianness Type Name Description
0x0 8 / Little uint64 character_guid GUID of the character to be renamed. Sent to the client in SMSG_CHAR_ENUM.
0x8 - / Big uint8[] character_name Zero terminated string of the requested new name for the character. The server reply will contain the actual name.