mirror of
https://github.com/redstrate/Kawari.git
synced 2025-07-09 23:47:46 +00:00
Document two more item operations: move (to an empty slot) and exchange (when swapping slots with another item)
This commit is contained in:
parent
fde43a560d
commit
13da396932
1 changed files with 6 additions and 0 deletions
|
@ -78,3 +78,9 @@ pub const COMPLETED_QUEST_BITMASK_SIZE: usize = 691;
|
||||||
|
|
||||||
/// The operation opcode/type when discarding an item from the inventory.
|
/// The operation opcode/type when discarding an item from the inventory.
|
||||||
pub const INVENTORY_ACTION_DISCARD: u8 = 145;
|
pub const INVENTORY_ACTION_DISCARD: u8 = 145;
|
||||||
|
|
||||||
|
// The operation opcode/type when moving an item to an emtpy slot in the inventory.
|
||||||
|
pub const INVENTORY_ACTION_MOVE: u8 = 146;
|
||||||
|
|
||||||
|
// The operation opcode/type when moving an item to a slot occupied by another in the inventory.
|
||||||
|
pub const INVENTORY_ACTION_EXCHANGE: u8 = 147;
|
||||||
|
|
Loading…
Add table
Reference in a new issue