diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-03 21:54:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-04 02:14:03 +0300 |
commit | 2288a403ad4377fbb552243e805aaf0b5a4f5a0d (patch) | |
tree | ad081047290fb6cc101f43833de6f565a368cf29 /src/net/npchandler.h | |
parent | cd636f7e367cfb7fa2c348d00071301a480d62c3 (diff) | |
download | manaplus-2288a403ad4377fbb552243e805aaf0b5a4f5a0d.tar.gz manaplus-2288a403ad4377fbb552243e805aaf0b5a4f5a0d.tar.bz2 manaplus-2288a403ad4377fbb552243e805aaf0b5a4f5a0d.tar.xz manaplus-2288a403ad4377fbb552243e805aaf0b5a4f5a0d.zip |
Allow buy from npc shop or from market more than one of item at one transaction.
Diffstat (limited to 'src/net/npchandler.h')
-rw-r--r-- | src/net/npchandler.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/npchandler.h b/src/net/npchandler.h index e3ef4ab23..cb7a088f1 100644 --- a/src/net/npchandler.h +++ b/src/net/npchandler.h @@ -32,8 +32,12 @@ #include "enums/simpletypes/beingid.h" #include "enums/simpletypes/itemcolor.h" +#include <vector> + #include "localconsts.h" +class ShopItem; + namespace Net { @@ -72,6 +76,8 @@ class NpcHandler notfinal const ItemColor color, const int amount) const = 0; + virtual void buyItems(std::vector<ShopItem*> &items) const = 0; + virtual void sellItem(const BeingId beingId, const int itemId, const int amount) const = 0; |