-
Notifications
You must be signed in to change notification settings - Fork 11
/
00e6.ksy
executable file
·71 lines (67 loc) · 1.81 KB
/
00e6.ksy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#pragma.examples gameservice/server 00e6
#pragma.parseAs GameserviceServerPacket
---
meta:
id: gameservice_server_00e6_user_shop_inventory
title: GameService Server User Shop Inventory
encoding: ASCII
endian: le
imports:
- ../../common/pstring
doc: |
This packet contains the inventory of a user's shop set up within a lounge room.
It is a response to:
* [GameService Client 0x0077 User Shop Inventory Request](/packets/gameservice/client/0077.ksy).
seq:
- id: unknown_gss00e6_a
type: u4
doc: Always 1? Possibly a page count of some sort for a hypothetical multi-page user inventory?
- id: unknown_gss00e6_b
type: u4
doc: Always 1? Possibly a page number of some sort for a hypothetical multi-page user inventory?
- id: user_nickname
type: strz
size: 22
doc: Shop owner's nickname.
- id: shop_name
type: pstring
- id: user_id
type: u4
doc: Shop owner's user ID.
- id: shop_item_count
type: u4
- id: shop_items
type: shop_item
repeat: expr
repeat-expr: shop_item_count
types:
shop_item:
seq:
- id: shop_item_index
type: u4
doc: Increments from $00 to $05.
- id: item_id
type: u4
doc: From pangya_xx.iff/Item.iff, /Card.iff, etc.
- id: inventory_slot
type: u4
doc: Unconfirmed.
- id: shop_item_quantity
type: u4
- id: unknown_gss00e6_c
size: 3
doc: All 0x00?
- id: shop_item_cost
type: u4
- id: unknown_gss00e6_d
size: 20
doc: All 0x00?
- id: item_asset_id
size: 9
doc: Associated with downloading custom assets, such as user designed clothing.
- id: unknown_gss00e6_f
type: u2
- id: unknown_gss00e6_g
type: u2
- id: unknown_gss00e6_h
size: 116