ManaPlus
|
Functions | |
void | processOpenReq (Net::MessageIn &msg) |
void | processShowBoard (Net::MessageIn &msg) |
void | processHideBoard (Net::MessageIn &msg) |
void | processItemsList (Net::MessageIn &msg) |
void | processBuyAck (Net::MessageIn &msg) |
void | processOpen (Net::MessageIn &msg) |
void | processReport (Net::MessageIn &msg) |
void | processOpenStatus (Net::MessageIn &msg) |
Variables | |
BuyDialog * | mBuyDialog = 0 |
void EAthena::VendingRecv::processBuyAck | ( | Net::MessageIn & | msg | ) |
Definition at line 177 of file vendingrecv.cpp.
References NotifyTypes::BUY_FAILED, NotifyTypes::BUY_FAILED_NO_MONEY, NotifyTypes::BUY_FAILED_OVERWEIGHT, NotifyTypes::BUY_FAILED_TOO_MANY_ITEMS, NotifyTypes::BUY_TRADE_FAILED, Actions::msg(), NotifyManager::notify(), and UNIMPLEMENTEDPACKETFIELD.
void EAthena::VendingRecv::processHideBoard | ( | Net::MessageIn & | msg | ) |
Definition at line 93 of file vendingrecv.cpp.
References actorManager, VendingModeListener::distributeEvent(), PlayerInfo::enableVending(), ActorManager::findBeing(), localPlayer, Actions::msg(), and Being::setSellBoard().
void EAthena::VendingRecv::processItemsList | ( | Net::MessageIn & | msg | ) |
Definition at line 108 of file vendingrecv.cpp.
References actorManager, ItemOptionsList::add(), BuyDialog::addItem(), CREATEWIDGETV, DEFAULT_CURRENCY, ActorManager::findBeing(), PlayerInfo::getAttribute(), ItemColorManager::getColorFromCards(), itemIdLen, maxCards, mBuyDialog, Attributes::MONEY, Actions::msg(), Item::setInvIndex(), BuyDialog::setMoney(), Item::setOptions(), and BuyDialog::sort().
void EAthena::VendingRecv::processOpen | ( | Net::MessageIn & | msg | ) |
Definition at line 209 of file vendingrecv.cpp.
References VendingModeListener::distributeEvent(), PlayerInfo::enableVending(), itemIdLen, maxCards, and Actions::msg().
void EAthena::VendingRecv::processOpenReq | ( | Net::MessageIn & | msg | ) |
Definition at line 72 of file vendingrecv.cpp.
References VendingSlotsListener::distributeEvent(), and Actions::msg().
void EAthena::VendingRecv::processOpenStatus | ( | Net::MessageIn & | msg | ) |
void EAthena::VendingRecv::processReport | ( | Net::MessageIn & | msg | ) |
Definition at line 245 of file vendingrecv.cpp.
References _, UnitsDb::formatCurrency(), PlayerInfo::getCartInventory(), Item::getInfo(), Inventory::getItem(), Actions::info(), INVENTORY_OFFSET, Actions::msg(), NotifyManager::notify(), strprintf(), and NotifyTypes::VENDING_SOLD_ITEM.
void EAthena::VendingRecv::processShowBoard | ( | Net::MessageIn & | msg | ) |
Definition at line 77 of file vendingrecv.cpp.
References actorManager, ActorManager::findBeing(), Actions::msg(), and Being::setSellBoard().
BuyDialog * EAthena::VendingRecv::mBuyDialog = 0 |
Definition at line 69 of file vendingrecv.cpp.
Referenced by processItemsList(), and EAthena::VendingHandler::VendingHandler().