Hey guys.
If a player pushs a item this is handled by game:
layerMoveItem in game.cpp and the toPosition stores the position where it is pushed.
Now my question: If I push a item to a backpack:
toPosition.x is 65535, y is the slotid and z is the slot inside the container, but which variable stores which container it goes to? Is there a way to find out the uid of the container or something like that?
function:
bool Game:
layerMoveItem(uint32_t playerId, const Position& fromPos, uint16_t spriteId, int16_t fromStackpos, const Position& toPos, uint8_t count)
~Summ
If a player pushs a item this is handled by game:
Now my question: If I push a item to a backpack:
toPosition.x is 65535, y is the slotid and z is the slot inside the container, but which variable stores which container it goes to? Is there a way to find out the uid of the container or something like that?
function:
bool Game:
~Summ