SMSG AUTH RESPONSE

From wowdev
Revision as of 20:32, 23 May 2021 by Deadbeef (talk | contribs) (Created page with "'''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. {{SMSG_Heade...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

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.


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
0x8 4 / Little uint32 billing_flags
0xc 4 / Little uint32 billing_rested
AUTH_WAIT_QUEUE fields
Offset Size / Endianness Type Name Description
0x4 4 / Little uint32 queue_position