ManaPlus
|
Functions | |
void | processTradeRequest (Net::MessageIn &msg) |
void | processTradeResponse (Net::MessageIn &msg) |
void | processTradeUndo (Net::MessageIn &msg) |
void | processTradeItemAdd (Net::MessageIn &msg) |
void | processTradeItemAddResponse (Net::MessageIn &msg) |
Variables | |
int | mQuantity = 0 |
int | mItemIndex = -1 |
void EAthena::TradeRecv::processTradeItemAdd | ( | Net::MessageIn & | msg | ) |
Definition at line 76 of file traderecv.cpp.
References ItemOptionsList::add(), TradeWindow::addItem2(), Equipm_false, Favorite_false, fromBool, ItemColorManager::getColorFromCards(), maxCards, Actions::msg(), TradeWindow::setMoney(), tradeWindow, and ItemType::Unknown.
void EAthena::TradeRecv::processTradeItemAddResponse | ( | Net::MessageIn & | msg | ) |
Definition at line 131 of file traderecv.cpp.
References TradeWindow::addItem2(), Item::getCards(), Item::getColor(), Item::getDamaged(), Item::getFavorite(), Item::getId(), Item::getIdentified(), PlayerInfo::getInventory(), Inventory::getItem(), Item::getOptions(), Item::getRefine(), Item::getType(), Item::increaseQuantity(), Item::isEquipment(), mItemIndex, mQuantity, Actions::msg(), NotifyManager::notify(), NotifyTypes::TRADE_ADD_ERROR, NotifyTypes::TRADE_ADD_PARTNER_OVER_WEIGHT, tradeWindow, and UNIMPLEMENTEDPACKETFIELD.
void EAthena::TradeRecv::processTradeRequest | ( | Net::MessageIn & | msg | ) |
Definition at line 57 of file traderecv.cpp.
References Actions::msg(), and Ea::TradeRecv::processTradeRequestContinue().
void EAthena::TradeRecv::processTradeResponse | ( | Net::MessageIn & | msg | ) |
Definition at line 68 of file traderecv.cpp.
References Actions::msg(), and Ea::TradeRecv::processTradeResponseContinue().
void EAthena::TradeRecv::processTradeUndo | ( | Net::MessageIn & | msg | ) |
int EAthena::TradeRecv::mItemIndex = -1 |
Definition at line 54 of file traderecv.cpp.
Referenced by EAthena::TradeHandler::addItem(), processTradeItemAddResponse(), and EAthena::TradeHandler::TradeHandler().
int EAthena::TradeRecv::mQuantity = 0 |
Definition at line 53 of file traderecv.cpp.
Referenced by EAthena::TradeHandler::addItem(), Inventory::getItem(), processTradeItemAddResponse(), and EAthena::TradeHandler::TradeHandler().