Edit on GitHub

GameService Client Equipment Update

Summary

This packet commits any changes to the player's equipment.

The response is Gameservice Server 0x006B Equipment Response.

Aliases:

Structure

gameservice_client_0020_equipment_update

Name Type Summary
equipment_type u1 Type of message.
equipment_data switch(equipment_type)
case caddie equipment_update_01_caddie Case when equipment_type == caddie
case consumables equipment_update_02_consumables Case when equipment_type == consumables
case comet equipment_update_03_comet Case when equipment_type == comet
case decoration equipment_update_04_decoration Case when equipment_type == decoration
case character equipment_update_05_character Case when equipment_type == character
case gsc0020_08_unknown equipment_update_08_unknown Case when equipment_type == gsc0020_08_unknown
case gsc0020_09_unknown equipment_update_09_unknown Case when equipment_type == gsc0020_09_unknown

Subtypes

equipment_update_01_caddie

Name Type Summary
roster_slot_caddie u4 Roster slot for the relevant caddie.

equipment_update_02_consumables

Name Type Summary
item_id u4 Always exactly 10 entries, corresponding to 10 consumable item slots in-game (no distinction between the 8 default slots and 2 unlockable slots). IDs from pangya_xx.iff/Item.iff.

equipment_update_03_comet

Name Type Summary
item_id_comet u4 From pangya_xx.iff/Ball.iff. Item ID of the relevant comet.

equipment_update_04_decoration

Name Type Summary
item_id_portrait_background u4 From pangya_xx.iff/Skin.iff. 0 if unused. Player card background.
item_id_portrait_frame u4 From pangya_xx.iff/Skin.iff. 0 if unused. Player card frame.
item_id_portrait_sticker u4 From pangya_xx.iff/Skin.iff. 0 if unused. Player card sticker.
item_id_portrait_slot u4 From pangya_xx.iff/Skin.iff. 0 if unused. Player card 'slot'.
item_id_cut_in u4 Unconfirmed. From pangya_xx.iff/Skin.iff. 0 if unused. Power shot cut-in.
item_id_rank_banner u4 Unconfirmed. From pangya_xx.iff/Skin.iff. 0 if unused. Banner displayed instead of rank.

equipment_update_05_character

Name Type Summary
roster_slot_character u4 Roster slot for the relevant character.

equipment_update_08_unknown

Name Type Summary
unknown_gsc0020_08_a bytes[4] All 0x00?

equipment_update_09_unknown

Name Type Summary
roster_slot_character_subtype09 u4 Roster slot for the relevant character.
unknown_gsc0020_09_a bytes[16]

Enums

equipment_update_type

Key Value
equipment_update_type::caddie 1
equipment_update_type::consumables 2
equipment_update_type::comet 3
equipment_update_type::decoration 4
equipment_update_type::character 5
equipment_update_type::gsc0020_08_unknown 8
equipment_update_type::gsc0020_09_unknown 9

Definition

meta:
  id: gameservice_client_0020_equipment_update
  title: GameService Client Equipment Update
  encoding: ASCII
  endian: le
  imports:
    - ../../common/pstring
seq:
  - id: equipment_type
    type: u1
    enum: equipment_update_type
  - id: equipment_data
    type:
      switch-on: equipment_type
      cases:
        equipment_update_type::caddie: equipment_update_01_caddie
        equipment_update_type::consumables: equipment_update_02_consumables
        equipment_update_type::comet: equipment_update_03_comet
        equipment_update_type::decoration: equipment_update_04_decoration
        equipment_update_type::character: equipment_update_05_character
        equipment_update_type::gsc0020_08_unknown: equipment_update_08_unknown
        equipment_update_type::gsc0020_09_unknown: equipment_update_09_unknown
types:
  equipment_update_01_caddie:
    seq:
      - id: roster_slot_caddie
        type: u4
  equipment_update_02_consumables:
    seq:
      - id: item_id
        type: u4
        repeat: expr
        repeat-expr: 10
  equipment_update_03_comet:
    seq:
      - id: item_id_comet
        type: u4
  equipment_update_04_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: item_id_cut_in
        type: u4
      - id: item_id_rank_banner
        type: u4
  equipment_update_05_character:
    seq:
      - id: roster_slot_character
        type: u4
  equipment_update_08_unknown:
    seq:
      - id: unknown_gsc0020_08_a
        size: 4
  equipment_update_09_unknown:
    seq:
      - id: roster_slot_character_subtype09
        type: u4
      - id: unknown_gsc0020_09_a
        size: 16
enums:
  equipment_update_type:
    1: caddie
    2: consumables
    3: comet
    4: decoration
    5: character
    8: gsc0020_08_unknown
    9: gsc0020_09_unknown

Examples

No examples available. Contribute one?