#include <inventorymanager.h>
Public Member Functions | |
virtual IAction | getType () const =0 |
virtual void | serialize (std::ostream &os) const =0 |
virtual void | apply (InventoryManager *mgr, ServerActiveObject *player, IGameDef *gamedef)=0 |
virtual void | clientApply (InventoryManager *mgr, IGameDef *gamedef)=0 |
virtual | ~InventoryAction ()=default |
Static Public Member Functions | |
static InventoryAction * | deSerialize (std::istream &is) |
|
virtualdefault |
|
pure virtual |
Implemented in ICraftAction, IDropAction, and IMoveAction.
Referenced by apply_action().
|
pure virtual |
Implemented in ICraftAction, IDropAction, and IMoveAction.
Referenced by Client::inventoryAction().
|
static |
Referenced by apply_action(), and Server::handleCommand_InventoryAction().
|
pure virtual |
Implemented in ICraftAction, IDropAction, and IMoveAction.
|
pure virtual |
Implemented in ICraftAction, IDropAction, and IMoveAction.
Referenced by Client::sendInventoryAction().