Files
AdamuSw/docs/Packets/C1-26-ConsumeItemRequest075_by-client.md
2026-07-14 19:00:35 +03:00

19 lines
905 B
Markdown

# C1 26 - ConsumeItemRequest075 (by client)
## Is sent when
A player requests to 'consume' an item. This can be a potion which recovers some kind of attribute, or a jewel to upgrade a target item.
## Causes the following actions on the server side
The server tries to 'consume' the specified item and responses accordingly.
## Structure
| Index | Length | Data Type | Value | Description |
|-------|--------|-----------|-------|-------------|
| 0 | 1 | Byte | 0xC1 | [Packet type](PacketTypes.md) |
| 1 | 1 | Byte | 5 | Packet header - length of the packet |
| 2 | 1 | Byte | 0x26 | Packet header - packet type identifier |
| 3 | 1 | Byte | | ItemSlot; The inventory slot index of the item which should be consumed. |
| 4 | 1 | Byte | | TargetSlot; If the item has an effect on another item, e.g. upgrading it, this field contains the inventory slot index of the target item. |