diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-01 17:59:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-01 17:59:15 +0300 |
commit | c735249c6bc90c0e723c42e7c5b1276579609ec9 (patch) | |
tree | 631089153777345ec85b2c36c4da6a4777ee6fe8 /src/net/ea | |
parent | 4f9bf0141d5b96372eec33a545ba546a9622426c (diff) | |
download | mv-c735249c6bc90c0e723c42e7c5b1276579609ec9.tar.gz mv-c735249c6bc90c0e723c42e7c5b1276579609ec9.tar.bz2 mv-c735249c6bc90c0e723c42e7c5b1276579609ec9.tar.xz mv-c735249c6bc90c0e723c42e7c5b1276579609ec9.zip |
Move requestSellList from ea namespace into eathena and tmwa.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/buysellhandler.cpp | 21 | ||||
-rw-r--r-- | src/net/ea/buysellhandler.h | 3 |
2 files changed, 0 insertions, 24 deletions
diff --git a/src/net/ea/buysellhandler.cpp b/src/net/ea/buysellhandler.cpp index 7d33492ce..e5403b270 100644 --- a/src/net/ea/buysellhandler.cpp +++ b/src/net/ea/buysellhandler.cpp @@ -59,27 +59,6 @@ BuySellHandler::BuySellHandler() mBuyDialog = nullptr; } -void BuySellHandler::requestSellList(const std::string &nick) const -{ - if (nick.empty() != 0 || !shopWindow) - return; - - const std::string data("!selllist " + toString(tick_time)); -// +++ need move to tmwa -#ifdef TMWA_SUPPORT - shopWindow->setAcceptPlayer(nick); -#endif - if (config.getBoolValue("hideShopMessages")) - { - chatHandler->privateMessage(nick, data); - } - else - { - if (chatWindow) - chatWindow->addWhisper(nick, data, ChatMsgType::BY_PLAYER); - } -} - void BuySellHandler::requestBuyList(const std::string &nick) const { if (nick.empty() || !shopWindow) diff --git a/src/net/ea/buysellhandler.h b/src/net/ea/buysellhandler.h index 95fcbb204..946064277 100644 --- a/src/net/ea/buysellhandler.h +++ b/src/net/ea/buysellhandler.h @@ -37,9 +37,6 @@ class BuySellHandler notfinal : public Net::BuySellHandler A_DELETE_COPY(BuySellHandler) - virtual void requestSellList(const std::string &nick) - const override final; - virtual void requestBuyList(const std::string &nick) const override final; |