baseline: OpenMU upstream b5a0961 (fresh source)
This commit is contained in:
19
docs/Packets/C1-26-ConsumeItemRequest075_by-client.md
Normal file
19
docs/Packets/C1-26-ConsumeItemRequest075_by-client.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# 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. |
|
||||
Reference in New Issue
Block a user