Planeshift
|
Handles Drag and Drop Messages from the client. More...
#include <slotmanager.h>
Public Member Functions | |
psItem * | FindItem (Client *client, int containerID, INVENTORY_SLOT_NUMBER slotID) |
bool | Initialize () |
SlotManager (GEMSupervisor *gemsupervisor, CacheManager *cachemanager) | |
virtual | ~SlotManager () |
Handles Drag and Drop Messages from the client.
This basically figures out what item is being dragged and places it in a holding slot. It then looks for the destination slot and sees if it can be placed there. If not it will Replace the holding item back to where it came from.
Definition at line 40 of file slotmanager.h.
SlotManager::SlotManager | ( | GEMSupervisor * | gemsupervisor, |
CacheManager * | cachemanager | ||
) |
virtual SlotManager::~SlotManager | ( | ) | [virtual] |
psItem* SlotManager::FindItem | ( | Client * | client, |
int | containerID, | ||
INVENTORY_SLOT_NUMBER | slotID | ||
) |
bool SlotManager::Initialize | ( | ) |