summaryrefslogtreecommitdiff
path: root/src/net/ea/buysellhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/buysellhandler.h')
-rw-r--r--src/net/ea/buysellhandler.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/net/ea/buysellhandler.h b/src/net/ea/buysellhandler.h
index 54fe6ebf7..2240872b9 100644
--- a/src/net/ea/buysellhandler.h
+++ b/src/net/ea/buysellhandler.h
@@ -41,27 +41,24 @@ class BuySellHandler : public Net::BuySellHandler
A_DELETE_COPY(BuySellHandler)
- virtual void requestSellList(std::string nick);
+ virtual void requestSellList(const std::string &nick) const override;
- virtual void requestBuyList(std::string nick);
+ virtual void requestBuyList(const std::string &nick) const override;
virtual void sendBuyRequest(const std::string &nick,
const ShopItem *const item,
- const int amount);
+ const int amount) const override;
virtual void sendSellRequest(const std::string &nick,
const ShopItem *const item,
- const int amount);
+ const int amount) const override;
virtual void processNpcBuySellChoice(Net::MessageIn &msg);
- virtual void processNpcBuy(Net::MessageIn &msg) = 0;
+ virtual void processNpcSell(Net::MessageIn &msg,
+ const int offset) const;
- virtual void processNpcSell(Net::MessageIn &msg, int offset);
-
- virtual void processNpcBuyResponse(Net::MessageIn &msg);
-
- virtual void processNpcSellResponse(Net::MessageIn &msg) = 0;
+ virtual void processNpcBuyResponse(Net::MessageIn &msg) const;
protected:
int mNpcId;