summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-09 21:31:02 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-09 21:31:02 +0300
commit90705929b29445a4569ff5c9ad13b7efcb304e0a (patch)
tree0dae1643b0fb33131fb918fe3a1729e879379e26 /src/net/eathena/inventoryhandler.h
parentb3fa7a53a29a1001935514a38f140af2b816771a (diff)
downloadplus-90705929b29445a4569ff5c9ad13b7efcb304e0a.tar.gz
plus-90705929b29445a4569ff5c9ad13b7efcb304e0a.tar.bz2
plus-90705929b29445a4569ff5c9ad13b7efcb304e0a.tar.xz
plus-90705929b29445a4569ff5c9ad13b7efcb304e0a.zip
Add different use actions for items.
Can be used from chat or from custom item menu from items.xml
Diffstat (limited to 'src/net/eathena/inventoryhandler.h')
-rw-r--r--src/net/eathena/inventoryhandler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryhandler.h b/src/net/eathena/inventoryhandler.h
index 3a804fb3d..79155ddaa 100644
--- a/src/net/eathena/inventoryhandler.h
+++ b/src/net/eathena/inventoryhandler.h
@@ -43,6 +43,9 @@ class InventoryHandler final : public Ea::InventoryHandler
void useItem(const Item *const item) const override final;
+ void useItem(const Item *const item,
+ const int16_t useType) const override final;
+
void dropItem(const Item *const item,
const int amount) const override final;