Planeshift
psSlotManager Class Reference

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 ()
 
- Public Member Functions inherited from iOnNumberEnteredAction
virtual ~iOnNumberEnteredAction ()
 

Detailed Description

Manages dragging items from one inventory slot to another and dropping them into the world.

Definition at line 43 of file psslotmgr.h.

Constructor & Destructor Documentation

psSlotManager::psSlotManager ( )
virtual psSlotManager::~psSlotManager ( )
virtual

Member Function Documentation

void psSlotManager::CancelDrag ( )
void psSlotManager::Handle ( pawsSlot slot,
bool  grabOne = false,
bool  grabAll = false 
)
void psSlotManager::Handle ( pawsDnDButton target)
bool psSlotManager::HandleEvent ( iEvent &  ev)
int psSlotManager::HoldingContainerID ( )
inline

Definition at line 63 of file psslotmgr.h.

int psSlotManager::HoldingSlotID ( )
inline

Definition at line 64 of file psslotmgr.h.

bool psSlotManager::IsDragging ( )
inline

Definition at line 57 of file psslotmgr.h.

bool psSlotManager::IsPlacing ( )
inline

Definition at line 58 of file psslotmgr.h.

void psSlotManager::OnNumberEntered ( const char *  name,
int  param,
int  value 
)
virtual
void psSlotManager::SetDragDetails ( pawsSlot slot,
int  count 
)
void psSlotManager::SetDragDetails ( pawsDnDButton target)
void psSlotManager::SetDragFlag ( bool  flag)
inline

Set the state of the drag flag.

Definition at line 61 of file psslotmgr.h.


The documentation for this class was generated from the following file: