ManaPlus
|
#include <buysellhandler.h>
Public Member Functions | |
BuySellHandler () | |
~BuySellHandler () | |
void | requestSellList (const std::string &nick) const |
void | requestBuyList (const std::string &nick) const |
void | sendBuyRequest (const std::string &nick, const ShopItem *const item, const int amount) const |
void | sendSellRequest (const std::string &nick, const ShopItem *const item, const int amount) const |
void | close () const |
Public Member Functions inherited from Ea::BuySellHandler | |
BuySellHandler () | |
void | cleanDialogReference (const BuyDialog *const dialog) const |
Public Member Functions inherited from Net::BuySellHandler | |
BuySellHandler () | |
Definition at line 32 of file buysellhandler.h.
TmwAthena::BuySellHandler::BuySellHandler | ( | ) |
Definition at line 44 of file buysellhandler.cpp.
References buySellHandler, and Ea::BuySellRecv::mBuyDialog.
|
virtual |
Reimplemented from Net::BuySellHandler.
Definition at line 51 of file buysellhandler.cpp.
References buySellHandler.
|
virtual |
|
virtual |
Implements Net::BuySellHandler.
Definition at line 75 of file buysellhandler.cpp.
References ChatWindow::addWhisper(), ChatMsgType::BY_PLAYER, chatHandler, chatWindow, config, data, Configuration::getBoolValue(), TmwAthena::ChatRecv::mShopRequestName, Net::ChatHandler::privateMessage(), ShopWindow::setAcceptPlayer(), shopWindow, tick_time, and Catch::toString().
|
virtual |
Implements Net::BuySellHandler.
Definition at line 56 of file buysellhandler.cpp.
References ChatWindow::addWhisper(), ChatMsgType::BY_PLAYER, chatHandler, chatWindow, config, data, Configuration::getBoolValue(), TmwAthena::ChatRecv::mShopRequestName, Net::ChatHandler::privateMessage(), ShopWindow::setAcceptPlayer(), shopWindow, tick_time, and Catch::toString().
|
virtual |
Implements Net::BuySellHandler.
Definition at line 94 of file buysellhandler.cpp.
References ChatWindow::addWhisper(), ChatMsgType::BY_PLAYER, chatHandler, chatWindow, config, data, Configuration::getBoolValue(), Item::getId(), ShopItem::getPrice(), Item::getQuantity(), Net::ChatHandler::privateMessage(), and strprintf().
|
virtual |
Implements Net::BuySellHandler.
Definition at line 112 of file buysellhandler.cpp.
References ChatWindow::addWhisper(), ChatMsgType::BY_PLAYER, chatHandler, chatWindow, config, data, Configuration::getBoolValue(), Item::getId(), ShopItem::getPrice(), Item::getQuantity(), Net::ChatHandler::privateMessage(), and strprintf().