ManaPlus
|
Functions | |
void | processTradeOk (Net::MessageIn &msg) |
void | processTradeCancel (Net::MessageIn &msg) |
void | processTradeComplete (Net::MessageIn &msg) |
void | processTradeRequestContinue (const std::string &partner) |
void | processTradeResponseContinue (const uint8_t type) |
void Ea::TradeRecv::processTradeCancel | ( | Net::MessageIn & | msg | ) |
Definition at line 126 of file traderecv.cpp.
References NotifyManager::notify(), TradeWindow::reset(), PlayerInfo::setTrading(), Window::setVisible(), NotifyTypes::TRADE_CANCELLED, tradeWindow, Trading_false, and Visible_false.
void Ea::TradeRecv::processTradeComplete | ( | Net::MessageIn & | msg | ) |
Definition at line 137 of file traderecv.cpp.
References TradeWindow::completeTrade(), NotifyManager::notify(), PlayerInfo::setTrading(), NotifyTypes::TRADE_COMPLETE, tradeWindow, and Trading_false.
void Ea::TradeRecv::processTradeOk | ( | Net::MessageIn & | msg | ) |
Definition at line 117 of file traderecv.cpp.
References Actions::msg(), TradeWindow::receivedOk(), and tradeWindow.
void Ea::TradeRecv::processTradeRequestContinue | ( | const std::string & | partner | ) |
Definition at line 145 of file traderecv.cpp.
References _, Widget::addActionListener(), TradeWindow::clear(), confirmDlg, CREATEWIDGETV, TradeWindow::getAutoTradeNick(), PlayerRelationsManager::hasPermission(), PlayerInfo::isTrading(), anonymous_namespace{traderecv.cpp}::listener, Modal_false, playerRelations, Net::TradeHandler::respond(), PlayerInfo::setTrading(), SOUND_REQUEST, strprintf(), PlayerRelation::TRADE, tradeHandler, tradePartnerName, tradeWindow, and Trading_true.
Referenced by EAthena::TradeRecv::processTradeRequest(), and TmwAthena::TradeRecv::processTradeRequest().
void Ea::TradeRecv::processTradeResponseContinue | ( | const uint8_t | type | ) |
Definition at line 62 of file traderecv.cpp.
References _, TradeWindow::clear(), PlayerRelationsManager::hasPermission(), TradeWindow::initTrade(), NotifyManager::notify(), playerRelations, TradeWindow::reset(), Window::setCaption(), PlayerInfo::setTrading(), Window::setVisible(), PlayerRelation::SPEECH_LOG, strprintf(), NotifyTypes::TRADE_CANCELLED_BUSY, NotifyTypes::TRADE_CANCELLED_ERROR, NotifyTypes::TRADE_CANCELLED_NAME, NotifyTypes::TRADE_ERROR_UNKNOWN, NotifyTypes::TRADE_FAIL_CHAR_NOT_EXISTS, NotifyTypes::TRADE_FAIL_FAR_AWAY, tradePartnerName, tradeWindow, Trading_false, Visible_false, and Visible_true.
Referenced by EAthena::TradeRecv::processTradeResponse(), and TmwAthena::TradeRecv::processTradeResponse().