SMSG AUTH RESPONSE: Difference between revisions

From wowdev
Jump to navigation Jump to search
m (Correct opcode)
m (Replace categories with template)
Line 42: Line 42:
|}
|}


[[Category:Packet]]
{{SMSG_Categories}}
[[Category:World_Packets]]
[[Category:Login]]
[[Category:Packet/Login]]

Revision as of 16:50, 24 May 2021

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