SMSG AUTH RESPONSE

From wowdev
Jump to navigation Jump to search

SMSG_AUTH_RESPONSE is a World Packet that initiates the connection between the client and the world server.

It is a response to CMSG_AUTH_SESSION. It is followed by a CMSG_CHAR_ENUM from the client.

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 0x1EE.


Body
Offset Size / Endianness Type Name Description
0x0 4 / Little uint32 result A Account_Result_Values value.
If AUTH_OK or AUTH_WAIT_QUEUE the below fields are added.
Otherwise no additional fields are added.
AUTH_OK fields
Offset Size / Endianness Type Name Description
0x4 4 / Little uint32 billing_time
0x5 1 / - uint8 billing_flags
0x9 4 / Little uint32 billing_rested
AUTH_WAIT_QUEUE fields
Offset Size / Endianness Type Name Description
0x4 4 / Little uint32 queue_position