![]() |
ManaPlus
|
Functions | |
void | processNpcBuy (Net::MessageIn &msg) |
void | processNpcSellResponse (Net::MessageIn &msg) |
void | processNpcBuyResponse (Net::MessageIn &msg) |
void TmwAthena::BuySellRecv::processNpcBuy | ( | Net::MessageIn & | msg | ) |
Definition at line 47 of file buysellrecv.cpp.
References BuyDialog::addItem(), CREATEWIDGETV, DEFAULT_CURRENCY, PlayerInfo::getAttribute(), ItemColor_one, Ea::BuySellRecv::mBuyDialog, Ea::BuySellRecv::mNpcId, Attributes::MONEY, Actions::msg(), BuyDialog::setMoney(), and BuyDialog::sort().
void TmwAthena::BuySellRecv::processNpcBuyResponse | ( | Net::MessageIn & | msg | ) |
Definition at line 89 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, PlayerInfo::getAttribute(), Ea::BuySellRecv::mBuyDialog, Attributes::MONEY, Actions::msg(), NotifyManager::notify(), and BuyDialog::setMoney().
void TmwAthena::BuySellRecv::processNpcSellResponse | ( | Net::MessageIn & | msg | ) |
Definition at line 69 of file buysellrecv.cpp.
References Actions::msg(), NotifyManager::notify(), NotifyTypes::SELL_FAILED, NotifyTypes::SELL_TRADE_FAILED, NotifyTypes::SELL_UNSELLABLE_FAILED, and NotifyTypes::SOLD.