Planeshift
|
Manages dragging items from one inventory slot to another and dropping them into the world. More...
#include <psslotmgr.h>
Public Member Functions | |
void | CancelDrag () |
void | Handle (pawsSlot *slot, bool grabOne=false, bool grabAll=false) |
void | Handle (pawsDnDButton *target) |
bool | HandleEvent (iEvent &ev) |
int | HoldingContainerID () |
int | HoldingSlotID () |
bool | IsDragging () |
bool | IsPlacing () |
void | OnNumberEntered (const char *name, int param, int value) |
psSlotManager () | |
void | SetDragDetails (pawsSlot *slot, int count) |
void | SetDragDetails (pawsDnDButton *target) |
void | SetDragFlag (bool flag) |
Set the state of the drag flag. More... | |
virtual | ~psSlotManager () |
![]() | |
virtual | ~iOnNumberEnteredAction () |
Manages dragging items from one inventory slot to another and dropping them into the world.
Definition at line 43 of file psslotmgr.h.
psSlotManager::psSlotManager | ( | ) |
|
virtual |
void psSlotManager::CancelDrag | ( | ) |
void psSlotManager::Handle | ( | pawsSlot * | slot, |
bool | grabOne = false , |
||
bool | grabAll = false |
||
) |
void psSlotManager::Handle | ( | pawsDnDButton * | target | ) |
bool psSlotManager::HandleEvent | ( | iEvent & | ev | ) |
|
inline |
Definition at line 63 of file psslotmgr.h.
|
inline |
Definition at line 64 of file psslotmgr.h.
|
inline |
Definition at line 57 of file psslotmgr.h.
|
inline |
Definition at line 58 of file psslotmgr.h.
Implements iOnNumberEnteredAction.
void psSlotManager::SetDragDetails | ( | pawsDnDButton * | target | ) |
|
inline |
Set the state of the drag flag.
Definition at line 61 of file psslotmgr.h.