Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

Operation_InventoryMoveItem

Trees edited this page Sep 24, 2019 · 1 revision

Data may be inaccurate from many game updates

Type: Operation Request

Code: InventoryMoveItem 27

Associated Event: InventoryPutItem

Description: This operation gets sent if the player is moving an item, i.e. between different containers or within a container. To find the actual item that has been moved, you need to handle the Item Moved event, that corresponds to the target container ID and the target move counter.

Example Output

map[0:7 1:[122 51 -67 -80 -91 -92 -73 68 -66 -65 -18 99 24 46 -65 117] 2:29 3:6 4:[122 51 -67 -80 -91 -92 -73 68 -66 -65 -18 99 24 46 -65 117] 5:29 253:27]"

Fields

Idx Name Comments
0 SourcePosition
1 SourceContainerID
2 SourceMoveCounter it gets incremented either by 1 or 2
3 TargetPosition
4 TargetContainerID
5 TargetMoveCounter it gets incremented either by 1 or 2