From 832f7a39b3c5e29cdd95dc93b7b18d1ecb7e7ff8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 23 Oct 2014 17:50:45 +0300 Subject: Remove unused functions startShopping and endShopping from npchandler. --- src/net/ea/npchandler.cpp | 8 -------- src/net/ea/npchandler.h | 4 ---- src/net/npchandler.h | 4 ---- 3 files changed, 16 deletions(-) diff --git a/src/net/ea/npchandler.cpp b/src/net/ea/npchandler.cpp index 3014df37e..553209f59 100644 --- a/src/net/ea/npchandler.cpp +++ b/src/net/ea/npchandler.cpp @@ -42,14 +42,6 @@ NpcHandler::NpcHandler() mRequestLang = false; } -void NpcHandler::startShopping(const int beingId A_UNUSED) const -{ -} - -void NpcHandler::endShopping(const int beingId A_UNUSED) const -{ -} - void NpcHandler::processNpcChoice(Net::MessageIn &msg) { npcHandler->getNpc(msg); diff --git a/src/net/ea/npchandler.h b/src/net/ea/npchandler.h index c43b73592..08c5727f2 100644 --- a/src/net/ea/npchandler.h +++ b/src/net/ea/npchandler.h @@ -42,10 +42,6 @@ class NpcHandler notfinal : public Net::NpcHandler public: A_DELETE_COPY(NpcHandler) - void startShopping(const int beingId) const override final; - - void endShopping(const int beingId) const override final; - static void processNpcChoice(Net::MessageIn &msg); static void processNpcMessage(Net::MessageIn &msg); diff --git a/src/net/npchandler.h b/src/net/npchandler.h index ed93ba409..0ce247065 100644 --- a/src/net/npchandler.h +++ b/src/net/npchandler.h @@ -56,8 +56,6 @@ class NpcHandler notfinal virtual void stringInput(const int npcId, const std::string &value) const = 0; - virtual void startShopping(const int beingId) const = 0; - virtual void buy(const int beingId) const = 0; virtual void sell(const int beingId) const = 0; @@ -69,8 +67,6 @@ class NpcHandler notfinal virtual void sellItem(const int beingId, const int itemId, const int amount) const = 0; - virtual void endShopping(const int beingId) const = 0; - virtual void completeProgressBar() const = 0; virtual void produceMix(const int nameId, -- cgit v1.2.3-70-g09d2