MSG_QUERY_NEXT_MAIL_TIME_Server

Client Version 1.12

mangoszero/vmangos: No idea when this is called.

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/queries/msg_query_next_mail_time_server.wowm:2.

smsg MSG_QUERY_NEXT_MAIL_TIME_Server = 0x0284 {
    f32 unread_mails;
}

SMSG have a header of 4 bytes.

SMSG Header

OffsetSize / EndiannessTypeNameDescription
0x002 / Biguint16sizeSize of the rest of the message including the opcode field but not including the size field.
0x022 / Littleuint16opcodeOpcode that determines which fields the message contains.

Body

OffsetSize / EndiannessTypeNameComment
0x044 / Littlef32unread_mailsmangoszero sets 0 if has unread mail, -86400.0f (0xC7A8C000) if not
vmangos sets 0 if has unread mail, -1.0f if not
cmangos has the behavior of mangoszero except when there are unread mails. This is TODO.

Client Version 2.4.3, Client Version 3

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/queries/msg_query_next_mail_time_server.wowm:37.

smsg MSG_QUERY_NEXT_MAIL_TIME_Server = 0x0284 {
    u32 float;
    u32 amount_of_mails;
    ReceivedMail[amount_of_mails] mails;
}

Header

SMSG have a header of 4 bytes.

SMSG Header

OffsetSize / EndiannessTypeNameDescription
0x002 OR 3 / Biguint16 OR uint16+uint8sizeSize of the rest of the message including the opcode field but not including the size field. Wrath server messages can be 3 bytes. If the first (most significant) size byte has 0x80 set, the header will be 3 bytes, otherwise it is 2.
-2 / Littleuint16opcodeOpcode that determines which fields the message contains.

Body

OffsetSize / EndiannessTypeNameComment
-4 / Littleu32float
-4 / Littleu32amount_of_mails
-? / -ReceivedMail[amount_of_mails]mails