Edit on GitHub

GameService Server Equipment Update Response

Summary

This packet acknowledges changes to equipment.

It is the response of GameService Client 0x0020 Equipment Update.

Structure

gameservice_server_006b_equipment_update_response

Name Type Summary
unknown_gss006b_a bytes[1] Only 0x04 seen.
equipment_type u1
equipment_data switch(equipment_type)
case character_full user_character_data Case when equipment_type == character_full
case caddie equipment_response_01_caddie Case when equipment_type == caddie
case consumables equipment_response_02_consumables Case when equipment_type == consumables
case comet equipment_response_03_comet Case when equipment_type == comet
case decoration equipment_response_04_decoration Case when equipment_type == decoration
case character equipment_response_05_character Case when equipment_type == character
case gsc0020_08_unknown equipment_response_08_unknown Case when equipment_type == gsc0020_08_unknown
case gsc0020_09_unknown equipment_response_09_unknown Case when equipment_type == gsc0020_09_unknown

Subtypes

equipment_response_01_caddie

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

equipment_response_02_consumables

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

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_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_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. 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_response_05_character

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

equipment_response_08_unknown

Name Type Summary
unknown_gss006b_08 bytes[62] All 0x00?

equipment_response_09_unknown

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

Enums

equipment_update_type

Key Value
equipment_update_type::character_full 0
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_server_006b_equipment_update_response
  title: GameService Server Equipment Update 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_update_type
  - id: equipment_data
    type:
      switch-on: equipment_type
      cases:
        equipment_update_type::character_full: user_character_data
        equipment_update_type::caddie: equipment_response_01_caddie
        equipment_update_type::consumables: equipment_response_02_consumables
        equipment_update_type::comet: equipment_response_03_comet
        equipment_update_type::decoration: equipment_response_04_decoration
        equipment_update_type::character: equipment_response_05_character
        equipment_update_type::gsc0020_08_unknown: equipment_response_08_unknown
        equipment_update_type::gsc0020_09_unknown: equipment_response_09_unknown
types:
  equipment_response_01_caddie:
    seq:
      - id: roster_slot_caddie
        type: u4
  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_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_response_05_character:
    seq:
      - id: roster_slot_character
        type: u4
  equipment_response_08_unknown:
    seq:
      - id: unknown_gss006b_08
        size: 62
  equipment_response_09_unknown:
    seq:
      - id: roster_slot_character_subtype09
        type: u4
      - id: unknown_gss006b_09
        size: 16
enums:
  equipment_update_type:
    0: character_full
    1: caddie
    2: consumables
    3: comet
    4: decoration
    5: character
    8: gsc0020_08_unknown
    9: gsc0020_09_unknown

Examples

No examples available. Contribute one?