C2 3F 05 - PlayerShopItemList (by server)
Is sent when
After the player requested to open a shop of another player.
Causes the following actions on the client side
The player shop dialog is shown with the provided item data.
Structure
| Index | Length | Data Type | Value | Description |
|---|---|---|---|---|
| 0 | 1 | Byte | 0xC2 | Packet type |
| 1 | 2 | Short | Packet header - length of the packet | |
| 3 | 1 | Byte | 0x3F | Packet header - packet type identifier |
| 4 | 1 | Byte | 0x05 | Packet header - sub packet type identifier |
| 4 | 1 | ActionKind | Action | |
| 5 | 1 | Boolean | true | Success |
| 6 | 2 | ShortBigEndian | PlayerId | |
| 8 | 10 | String | PlayerName | |
| 18 | 36 | String | ShopName | |
| 54 | 1 | Byte | ItemCount | |
| 55 | PlayerShopItem.Length * ItemCount | Array of PlayerShopItem | Items |
PlayerShopItem Structure
Data of an item in a player shop.
Length: 20 Bytes
| Index | Length | Data Type | Value | Description |
|---|---|---|---|---|
| 0 | 1 | Byte | ItemSlot | |
| 1 | 12 | Binary | ItemData | |
| 16 | 4 | IntegerLittleEndian | Price |
ActionKind Enum
The kind of action which led to the list message.
| Value | Name | Description |
|---|---|---|
| 5 | ByRequest | The list was requested. |
| 19 | UpdateAfterItemChange | The list was changed, e.g. because an item was sold. |