diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-07-14 22:42:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-07-14 22:42:47 +0300 |
commit | 26b43e7164214e8c9e5cdb8842a79a4fcc1493da (patch) | |
tree | 250a4f432ed66dee5a821eab15855cd194b18433 /src/net/inventoryhandler.h | |
parent | 21d0f7cd7b0d8474f1043ae4f283a58ea6d8b352 (diff) | |
download | mv-26b43e7164214e8c9e5cdb8842a79a4fcc1493da.tar.gz mv-26b43e7164214e8c9e5cdb8842a79a4fcc1493da.tar.bz2 mv-26b43e7164214e8c9e5cdb8842a79a4fcc1493da.tar.xz mv-26b43e7164214e8c9e5cdb8842a79a4fcc1493da.zip |
Add ability for insert cards into items.
Diffstat (limited to 'src/net/inventoryhandler.h')
-rw-r--r-- | src/net/inventoryhandler.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/inventoryhandler.h b/src/net/inventoryhandler.h index fc1365898..a151e39da 100644 --- a/src/net/inventoryhandler.h +++ b/src/net/inventoryhandler.h @@ -71,7 +71,7 @@ class InventoryHandler notfinal virtual int convertFromServerSlot(const int eAthenaSlot) const = 0; - virtual void useCard(const int index) const = 0; + virtual void useCard(const Item *const item) = 0; virtual void insertCard(const int cardIndex, const int itemIndex) const = 0; @@ -82,6 +82,8 @@ class InventoryHandler notfinal virtual void selectEgg(const Item *const item) const = 0; virtual int getProjectileSlot() const = 0; + + virtual int getItemIndex() const A_WARN_UNUSED = 0; }; } // namespace Net |