Edit on GitHub

GameService Server Equipment Response

Summary

This packet acknowledges changes to equipment from GameService Client 0x0020 Equipment Update.

Structure

gameservice_server_006b_equipment_response

Name Type Summary
unknown_gss006b_a bytes
equipment_type u1
equipment_data switch(equipment_type)
case character user_character_data Case when equipment_type == character
case unknown_01 equipment_response_01_unknown Case when equipment_type == unknown_01
case consumables equipment_response_02_consumables Case when equipment_type == consumables
case ball equipment_response_03_comet Case when equipment_type == ball
case card_decoration equipment_response_04_card_decoration Case when equipment_type == card_decoration
case unknown_05 equipment_response_05_unknown Case when equipment_type == unknown_05
case unknown_08 equipment_response_08_unknown Case when equipment_type == unknown_08
case unknown_09 equipment_response_09_unknown Case when equipment_type == unknown_09

Subtypes

equipment_response_01_unknown

Name Type Summary
unknown_gss006b_01 bytes

equipment_response_02_consumables

These are the 8-10 items available for use in matches.

Name Type Summary
item_id u4 0 if no item is equipped in a given slot.

equipment_response_03_comet

This is the equipped comet (ball).

Name Type Summary
item_id_comet u4 From pangya_xx.iff/Ball.iff
inventory_slot_comet u4 From Server 0x0073.

equipment_response_04_card_decoration

This is the decoration on the gamercard that appears in the user profile and on inter-hole tournament standings screens.

Name Type Summary
item_id_portrait_background u4 From pangya_xx.iff/Skin.iff. 0 if unused.
item_id_portrait_frame u4 From pangya_xx.iff/Skin.iff. 0 if unused.
item_id_portrait_sticker u4 From pangya_xx.iff/Skin.iff. 0 if unused.
item_id_portrait_slot u4 From pangya_xx.iff/Skin.iff. 0 if unused.
unknown_gss006b_04 bytes

equipment_response_05_unknown

Name Type Summary
unknown_gss006b_05 bytes

equipment_response_08_unknown

Name Type Summary
unknown_gss006b_08 bytes

equipment_response_09_unknown

Name Type Summary
unknown_gss006b_09 bytes

Enums

equipment_type

Key Value
equipment_type::character 0
equipment_type::unknown_01 1
equipment_type::consumables 2
equipment_type::ball 3
equipment_type::card_decoration 4
equipment_type::unknown_05 5
equipment_type::unknown_08 8
equipment_type::unknown_09 9

Definition

meta:
  id: gameservice_server_006b_equipment_response
  title: GameService Server Equipment Response
  encoding: ASCII
  endian: le
  imports:
    - ../../common/pstring
    - ../../common/user_character_data
seq:
  - id: unknown_gss006b_a
    size: 1
  - id: equipment_type
    type: u1
    enum: equipment_type
  - id: equipment_data
    type:
      switch-on: equipment_type
      cases:
        equipment_type::character: user_character_data
        equipment_type::unknown_01: equipment_response_01_unknown
        equipment_type::consumables: equipment_response_02_consumables
        equipment_type::ball: equipment_response_03_comet
        equipment_type::card_decoration: equipment_response_04_card_decoration
        equipment_type::unknown_05: equipment_response_05_unknown
        equipment_type::unknown_08: equipment_response_08_unknown
        equipment_type::unknown_09: equipment_response_09_unknown
types:
  equipment_response_01_unknown:
    seq:
      - id: unknown_gss006b_01
        size: 4
  equipment_response_02_consumables:
    seq:
      - id: item_id
        type: u4
        repeat: expr
        repeat-expr: 10
  equipment_response_03_comet:
    seq:
      - id: item_id_comet
        type: u4
      - id: inventory_slot_comet
        type: u4
  equipment_response_04_card_decoration:
    seq:
      - id: item_id_portrait_background
        type: u4
      - id: item_id_portrait_frame
        type: u4
      - id: item_id_portrait_sticker
        type: u4
      - id: item_id_portrait_slot
        type: u4
      - id: unknown_gss006b_04
        size: 8
  equipment_response_05_unknown:
    seq:
      - id: unknown_gss006b_05
        size: 4
  equipment_response_08_unknown:
    seq:
      - id: unknown_gss006b_08
        size: 62
  equipment_response_09_unknown:
    seq:
      - id: unknown_gss006b_09
        size: 20
enums:
  equipment_type:
    0: character
    1: unknown_01
    2: consumables
    3: ball
    4: card_decoration
    5: unknown_05
    8: unknown_08
    9: unknown_09

Examples

No examples available. Contribute one?