CMSG PLAYER LOGIN

From wowdev
Jump to navigation Jump to search

SMSG_PLAYER_LOGIN is a World Packet that is sent after a SMSG_CHAR_ENUM from the server and the client pressed "Enter world" on a character. The client shows a loading screen and waits for a reply.

If the client receives a SMSG_CHARACTER_LOGIN_FAILED it will return to the character screen and send a CMSG_CHAR_ENUM.

Packet Layout

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


Character Header
Offset Size / Endianness Type Name Description
0x0 8 / Little uint64 character_guid GUID of the character to be deleted. Sent to the client in SMSG_CHAR_ENUM.