diff options
Diffstat (limited to 'src/net/ea/buysellhandler.h')
-rw-r--r-- | src/net/ea/buysellhandler.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/net/ea/buysellhandler.h b/src/net/ea/buysellhandler.h index 14d39ea02..26f0d2716 100644 --- a/src/net/ea/buysellhandler.h +++ b/src/net/ea/buysellhandler.h @@ -43,11 +43,13 @@ class BuySellHandler : public Net::BuySellHandler virtual void requestBuyList(std::string nick); - virtual void sendBuyRequest(std::string nick, ShopItem* item, - int amount); + virtual void sendBuyRequest(const std::string &nick, + const ShopItem *const item, + const int amount); - virtual void sendSellRequest(std::string nick, ShopItem* item, - int amount); + virtual void sendSellRequest(const std::string &nick, + const ShopItem *const item, + const int amount); virtual void processNpcBuySellChoice(Net::MessageIn &msg); |