Edit on GitHub

GameService Server Mailbox Response

Summary

This packet contains a page of the user's mailbox.

This packet is a response to Gameservice Client 0x0143 Mailbox Request.

Structure

gameservice_server_0211_mailbox_response

Name Type Summary
unknown_d bytes[4]
page_number u4 Page number requested from the Mailbox.
page_number_max u4 Unconfirmed. Total page count in Mailbox.
mail_count u2
mails mail[mail_count]

Subtypes

mail

Name Type Summary
mail_id u4
mail_sender_user_nickname strz[135]
mail_attachment_count u4
mail_attachments mail_attachment

mail_attachment

At most 1 attachment will be listed in the mailbox. Identical to GameService Server 0x0212 Mail Read Response.

Name Type Summary
unknown_a bytes[4]
item_id u4
unknown_b bytes[1]
item_quantity u4
unknown_c bytes[42]

Definition

meta:
  id: gameservice_server_0211_mailbox_response
  title: GameService Server Mailbox Response
  encoding: ASCII
  endian: le
  imports:
    - ../../common/pstring
seq:
  - id: unknown_d
    size: 4
  - id: page_number
    type: u4
  - id: page_number_max
    type: u4
  - id: mail_count
    type: u2
  - id: mails
    type: mail
    repeat: expr
    repeat-expr: mail_count
types:
  mail:
    seq:
      - id: mail_id
        type: u4
      - id: mail_sender_user_nickname
        type: strz
        size: 135
      - id: mail_attachment_count
        type: u4
      - id: mail_attachments
        if: mail_attachment_count != 0
        type: mail_attachment
  mail_attachment:
    seq:
      - id: unknown_a
        size: 4
      - id: item_id
        type: u4
      - id: unknown_b
        size: 1
      - id: item_quantity
        type: u4
      - id: unknown_c
        size: 42

Examples

No examples available. Contribute one?