diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-04 02:03:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-04 02:40:04 +0300 |
commit | 5cfc73dc5c0093a96c45f604a028ecca21a01af8 (patch) | |
tree | 4916b602dfa9b5caee28252515a45215008b8d71 /src/net/tmwa | |
parent | 2288a403ad4377fbb552243e805aaf0b5a4f5a0d (diff) | |
download | manaverse-5cfc73dc5c0093a96c45f604a028ecca21a01af8.tar.gz manaverse-5cfc73dc5c0093a96c45f604a028ecca21a01af8.tar.bz2 manaverse-5cfc73dc5c0093a96c45f604a028ecca21a01af8.tar.xz manaverse-5cfc73dc5c0093a96c45f604a028ecca21a01af8.zip |
Allow sell to npc many items at one time (hercules).halloween2015
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/npchandler.cpp | 4 | ||||
-rw-r--r-- | src/net/tmwa/npchandler.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp index 57ad5850f..71b5ce1d2 100644 --- a/src/net/tmwa/npchandler.cpp +++ b/src/net/tmwa/npchandler.cpp @@ -145,6 +145,10 @@ void NpcHandler::sellItem(const BeingId beingId A_UNUSED, outMsg.writeInt16(static_cast<int16_t>(amount), "amount"); } +void NpcHandler::sellItems(std::vector<ShopItem*> &items A_UNUSED) const +{ +} + void NpcHandler::completeProgressBar() const { } diff --git a/src/net/tmwa/npchandler.h b/src/net/tmwa/npchandler.h index 6eed8e81f..5275feeb4 100644 --- a/src/net/tmwa/npchandler.h +++ b/src/net/tmwa/npchandler.h @@ -65,6 +65,8 @@ class NpcHandler final : public Ea::NpcHandler const int itemId, const int amount) const override final; + void sellItems(std::vector<ShopItem*> &items) const override final; + void completeProgressBar() const override final; BeingId getNpc(Net::MessageIn &msg, |