ManaPlus
|
Functions | |
void | processNpcBuy (Net::MessageIn &msg) |
void | processNpcSellResponse (Net::MessageIn &msg) |
void | processNpcBuyResponse (Net::MessageIn &msg) |
void EAthena::BuySellRecv::processNpcBuy | ( | Net::MessageIn & | msg | ) |
Definition at line 55 of file buysellrecv.cpp.
References BuyDialog::addItem(), BeingTypeId_zero, CREATEWIDGETV, DEFAULT_CURRENCY, NPCDB::get(), PlayerInfo::getAttribute(), Actions::info(), ItemColor_one, itemIdLen, Ea::BuySellRecv::mBuyDialog, Ea::BuySellRecv::mNpcId, EAthena::NpcRecv::mNpcTypeId, Attributes::MONEY, Actions::msg(), BuyDialog::setMoney(), and BuyDialog::sort().
void EAthena::BuySellRecv::processNpcBuyResponse | ( | Net::MessageIn & | msg | ) |
Definition at line 116 of file buysellrecv.cpp.
References NotifyTypes::BUY_DONE, NotifyTypes::BUY_FAILED, NotifyTypes::BUY_FAILED_NO_MONEY, NotifyTypes::BUY_FAILED_OVERWEIGHT, NotifyTypes::BUY_FAILED_TOO_MANY_ITEMS, Actions::msg(), and NotifyManager::notify().
void EAthena::BuySellRecv::processNpcSellResponse | ( | Net::MessageIn & | msg | ) |
Definition at line 96 of file buysellrecv.cpp.
References Actions::msg(), NotifyManager::notify(), NotifyTypes::SELL_FAILED, NotifyTypes::SELL_TRADE_FAILED, NotifyTypes::SELL_UNSELLABLE_FAILED, and NotifyTypes::SOLD.