summaryrefslogtreecommitdiff
path: root/src/net/inventoryhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-13 23:38:20 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-13 23:38:20 +0300
commite61466ca3f2af0b3c7354d42c7f10d40ecea9d08 (patch)
treec9c3f6f10a057aaf4deab39e48000eeca4b928ae /src/net/inventoryhandler.h
parent9a11f30d150928e504406139691b42cce0922174 (diff)
downloadplus-e61466ca3f2af0b3c7354d42c7f10d40ecea9d08.tar.gz
plus-e61466ca3f2af0b3c7354d42c7f10d40ecea9d08.tar.bz2
plus-e61466ca3f2af0b3c7354d42c7f10d40ecea9d08.tar.xz
plus-e61466ca3f2af0b3c7354d42c7f10d40ecea9d08.zip
Impliment packet CMSG_SELECT_CART 0x0980.
Diffstat (limited to 'src/net/inventoryhandler.h')
-rw-r--r--src/net/inventoryhandler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/inventoryhandler.h b/src/net/inventoryhandler.h
index 2c18d4ead..b4786fb94 100644
--- a/src/net/inventoryhandler.h
+++ b/src/net/inventoryhandler.h
@@ -23,6 +23,8 @@
#ifndef NET_INVENTORYHANDLER_H
#define NET_INVENTORYHANDLER_H
+#include "enums/simpletypes/beingid.h"
+
#include "resources/inventory/inventory.h"
namespace Net
@@ -84,6 +86,9 @@ class InventoryHandler notfinal
virtual int getProjectileSlot() const = 0;
virtual int getItemIndex() const A_WARN_UNUSED = 0;
+
+ virtual void selectCart(const BeingId accountId,
+ const int type) const = 0;
};
} // namespace Net