summaryrefslogtreecommitdiff
path: root/src/net/tmwserv/inventoryhandler.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-02 22:37:35 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-02 22:37:35 -0600
commitd13b3eaca82e3547c84f60b9b135464ff3a51cf0 (patch)
treee4ede7c58a991b85ff208a7155d0b74236f23bac /src/net/tmwserv/inventoryhandler.h
parent4916370e6130bfee7eb9ae486f03391d2214ecf4 (diff)
downloadmana-d13b3eaca82e3547c84f60b9b135464ff3a51cf0.tar.gz
mana-d13b3eaca82e3547c84f60b9b135464ff3a51cf0.tar.bz2
mana-d13b3eaca82e3547c84f60b9b135464ff3a51cf0.tar.xz
mana-d13b3eaca82e3547c84f60b9b135464ff3a51cf0.zip
Start TMWServ's PlayerHandler and InventoryHandler
Diffstat (limited to 'src/net/tmwserv/inventoryhandler.h')
-rw-r--r--src/net/tmwserv/inventoryhandler.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/net/tmwserv/inventoryhandler.h b/src/net/tmwserv/inventoryhandler.h
index 4144d89c..3d7fce1a 100644
--- a/src/net/tmwserv/inventoryhandler.h
+++ b/src/net/tmwserv/inventoryhandler.h
@@ -22,14 +22,32 @@
#ifndef NET_TMWSERV_INVENTORYHANDLER_H
#define NET_TMWSERV_INVENTORYHANDLER_H
+#include "net/inventoryhandler.h"
#include "net/messagehandler.h"
-class InventoryHandler : public MessageHandler
+class InventoryHandler : public MessageHandler, Net::InventoryHandler
{
public:
InventoryHandler();
void handleMessage(MessageIn &msg);
+
+ void equipItem(Item *item);
+
+ void unequipItem(Item *item);
+
+ void useItem(Item *item);
+
+ void dropItem(Item *item, int amount);
+
+ void splitItem(Item *item, int amount);
+
+ void openStorage();
+
+ void closeStorage();
+
+ void moveItem(StorageType source, int slot, int amount,
+ StorageType destination);
};
#endif