SMSG AUTH RESPONSE: Difference between revisions

From wowdev
Jump to navigation Jump to search
m (Add opcode value)
m (Correct opcode)
Line 3: Line 3:
It is a response to [[CMSG_AUTH_SESSION]].
It is a response to [[CMSG_AUTH_SESSION]].


{{SMSG_Header|opcode=0x1ED}}
{{SMSG_Header|opcode=0x1EE}}


{| class="wikitable"
{| class="wikitable"

Revision as of 16:34, 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