Edit on GitHub

GameService Server User Trophies Response

Summary

This packet contains a count of the user's tournament trophies. This does not include Grand Prix trophies.

This is one of the responses to GameService Client 0x002F User Information Request.

See Also:

Structure

gameservice_server_0159_user_trophies_response

Name Type Summary
request_type u1 Matches request packet.
user_id u4 Matches request packet.
user_trophy_data user_trophy_data[13] 13 classes, in order - 5x Unk, AmaLv1, ProLv1, ProLv2, ProLv3, ProLv4, 3x Unk.

Subtypes

user_trophy_data

Name Type Summary
user_trophy_gold u2 Number of gold trophies in a given tournament class.
user_trophy_silver u2 Number of silver trophies in a given tournament class.
user_trophy_bronze u2 Number of bronze trophies in a given tournament class.

Enums

request_type

Key Value
request_type::total 0
request_type::season 5

Definition

meta:
  id: gameservice_server_0159_user_trophies_response
  title: GameService Server User Trophies Response
  encoding: ASCII
  endian: le
  imports:
    - ../../common/pstring
seq:
  - id: request_type
    type: u1
    enum: request_type
  - id: user_id
    type: u4
  - id: user_trophy_data
    type: user_trophy_data
    repeat: expr
    repeat-expr: 13
types:
  user_trophy_data:
    seq:
      - id: user_trophy_gold
        type: u2
      - id: user_trophy_silver
        type: u2
      - id: user_trophy_bronze
        type: u2
enums:
  request_type:
    0: total
    5: season

Examples

No examples available. Contribute one?