diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-13 23:38:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-13 23:38:20 +0300 |
commit | e61466ca3f2af0b3c7354d42c7f10d40ecea9d08 (patch) | |
tree | c9c3f6f10a057aaf4deab39e48000eeca4b928ae /src/net/inventoryhandler.h | |
parent | 9a11f30d150928e504406139691b42cce0922174 (diff) | |
download | manaplus-e61466ca3f2af0b3c7354d42c7f10d40ecea9d08.tar.gz manaplus-e61466ca3f2af0b3c7354d42c7f10d40ecea9d08.tar.bz2 manaplus-e61466ca3f2af0b3c7354d42c7f10d40ecea9d08.tar.xz manaplus-e61466ca3f2af0b3c7354d42c7f10d40ecea9d08.zip |
Impliment packet CMSG_SELECT_CART 0x0980.
Diffstat (limited to 'src/net/inventoryhandler.h')
-rw-r--r-- | src/net/inventoryhandler.h | 5 |
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 |