Edit on GitHub
GameService Client User Equipment Change
Summary
This packet changes the user's equipment while in a room.
The response is GameService Server 0x004B User Equipment Change Announce.
See Also:
Aliases:
hsreina/pangya-server
: PLAYER_CHANGE_EQUPMENT_B
eantoniobr/UGPangya
: PLAYER_CHANGE_EQUIPMENT
Structure
Subtypes
Name | Type | Summary |
roster_slot_caddie | u4 | Roster slot of chosen caddie. |
Name | Type | Summary |
item_id_ball | u4 | From pangya_xx.iff/Ball.iff. Item ID of the chosen comet. |
Name | Type | Summary |
inventory_slot_clubs | u4 | Inventory slot of the chosen clubset. |
Name | Type | Summary |
roster_slot_character | u4 | Roster slot of the chosen character. |
Name | Type | Summary |
roster_slot_character_type07 | u4 | Same as in subtype 0x04. |
roster_slot_caddie_type07 | u4 | Same as in subtype 0x01. |
inventory_slot_clubs_type07 | u4 | Same as in subtype 0x03. |
item_id_ball_type07 | u4 | Same as in subtype 0x02. |
Enums
Definition
meta:
id: gameservice_client_000c_user_equipment_change
title: GameService Client User Equipment Change
encoding: ASCII
endian: le
imports:
- ../../common/pstring
seq:
- id: equipment_type
type: u1
enum: equipment_type
- id: equipment_payload
type:
switch-on: equipment_type
cases:
equipment_type::equipped_caddie: change_caddie
equipment_type::equipped_ball: change_ball
equipment_type::equipped_clubs: change_clubs
equipment_type::equipped_character: change_character
equipment_type::equipped_07_unknown: change_07_unknown
types:
change_caddie:
seq:
- id: roster_slot_caddie
type: u4
change_ball:
seq:
- id: item_id_ball
type: u4
change_clubs:
seq:
- id: inventory_slot_clubs
type: u4
change_character:
seq:
- id: roster_slot_character
type: u4
change_07_unknown:
seq:
- id: roster_slot_character_type07
type: u4
- id: roster_slot_caddie_type07
type: u4
- id: inventory_slot_clubs_type07
type: u4
- id: item_id_ball_type07
type: u4
enums:
equipment_type:
1: equipped_caddie
2: equipped_ball
3: equipped_clubs
4: equipped_character
7: equipped_07_unknown
Examples
No examples available. Contribute one?