ManaPlus
|
Functions | |
void | processTradeRequest (Net::MessageIn &msg) |
void | processTradeItemAdd (Net::MessageIn &msg) |
void | processTradeItemAddResponse (Net::MessageIn &msg) |
void | processTradeResponse (Net::MessageIn &msg) |
void TmwAthena::TradeRecv::processTradeItemAdd | ( | Net::MessageIn & | msg | ) |
Definition at line 61 of file traderecv.cpp.
References TradeWindow::addItem2(), Damaged_false, Equipm_false, Favorite_false, fromBool, ItemColor_one, maxCards, Actions::msg(), TradeWindow::setMoney(), tradeWindow, and ItemType::Unknown.
void TmwAthena::TradeRecv::processTradeItemAddResponse | ( | Net::MessageIn & | msg | ) |
Definition at line 97 of file traderecv.cpp.
References TradeWindow::addItem2(), Item::getCards(), Item::getColor(), Item::getDamaged(), Item::getFavorite(), Item::getId(), Item::getIdentified(), PlayerInfo::getInventory(), Inventory::getItem(), Item::getRefine(), Item::getType(), Item::increaseQuantity(), INVENTORY_OFFSET, Item::isEquipment(), Logger::log(), logger, Actions::msg(), NotifyManager::notify(), TradeWindow::receivedOk(), Catch::toString(), NotifyTypes::TRADE_ADD_ERROR, NotifyTypes::TRADE_ADD_PARTNER_NO_SLOTS, NotifyTypes::TRADE_ADD_PARTNER_OVER_WEIGHT, NotifyTypes::TRADE_ADD_UNTRADABLE_ITEM, tradeWindow, and UNIMPLEMENTEDPACKETFIELD.
void TmwAthena::TradeRecv::processTradeRequest | ( | Net::MessageIn & | msg | ) |
Definition at line 56 of file traderecv.cpp.
References Actions::msg(), and Ea::TradeRecv::processTradeRequestContinue().
void TmwAthena::TradeRecv::processTradeResponse | ( | Net::MessageIn & | msg | ) |
Definition at line 158 of file traderecv.cpp.
References PlayerRelationsManager::hasPermission(), Actions::msg(), playerRelations, Ea::TradeRecv::processTradeResponseContinue(), Net::TradeHandler::respond(), PlayerRelation::TRADE, tradeHandler, and tradePartnerName.