Skip to content
This repository was archived by the owner on May 8, 2023. It is now read-only.

Operation "Move Item"

oxisto edited this page Sep 14, 2017 · 10 revisions

Type: Operation Request

Code: 21

Associated Event: Item Moved

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:21]"

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