ManaPlus
|
Functions | |
void | processMailOpen (Net::MessageIn &msg) |
void | processMailList (Net::MessageIn &msg) |
void | processReadMail (Net::MessageIn &msg) |
void | processGetAttachment (Net::MessageIn &msg) |
void | processSendMailAck (Net::MessageIn &msg) |
void | processNewMail (Net::MessageIn &msg) |
void | processSetAttachmentAck (Net::MessageIn &msg) |
void | processDeleteAck (Net::MessageIn &msg) |
void | processMailReturn (Net::MessageIn &msg) |
void EAthena::MailRecv::processDeleteAck | ( | Net::MessageIn & | msg | ) |
Definition at line 222 of file mailrecv.cpp.
References NotifyTypes::MAIL_DELETE_ERROR, NotifyTypes::MAIL_DELETE_OK, mailWindow, Actions::msg(), NotifyManager::notify(), and MailWindow::removeMail().
void EAthena::MailRecv::processGetAttachment | ( | Net::MessageIn & | msg | ) |
Definition at line 160 of file mailrecv.cpp.
References NotifyTypes::MAIL_GET_ATTACH_ERROR, NotifyTypes::MAIL_GET_ATTACH_OK, NotifyTypes::MAIL_GET_ATTACH_TOO_MANY_ITEMS, Actions::msg(), NotifyManager::notify(), and UNIMPLEMENTEDPACKETFIELD.
void EAthena::MailRecv::processMailList | ( | Net::MessageIn & | msg | ) |
Definition at line 78 of file mailrecv.cpp.
References MailWindow::addMail(), MailWindow::clear(), MailMessage::id, Logger::log(), logger, mailWindow, Actions::msg(), MailMessage::read, MailMessage::sender, MailMessage::strTime, MailMessage::time, timeToStr(), and MailMessage::title.
void EAthena::MailRecv::processMailOpen | ( | Net::MessageIn & | msg | ) |
Definition at line 50 of file mailrecv.cpp.
References Window::isWindowVisible(), mailWindow, Actions::msg(), Widget::requestMoveToTop(), Window::setVisible(), UNIMPLEMENTEDPACKETFIELD, Visible_false, and Visible_true.
void EAthena::MailRecv::processMailReturn | ( | Net::MessageIn & | msg | ) |
Definition at line 237 of file mailrecv.cpp.
References NotifyTypes::MAIL_RETURN_ERROR, NotifyTypes::MAIL_RETURN_OK, mailWindow, Actions::msg(), NotifyManager::notify(), and MailWindow::removeMail().
void EAthena::MailRecv::processNewMail | ( | Net::MessageIn & | msg | ) |
Definition at line 197 of file mailrecv.cpp.
References _, mailHandler, Actions::msg(), NotifyTypes::NEW_MAIL, NotifyManager::notify(), Net::MailHandler::refresh(), and strprintf().
void EAthena::MailRecv::processReadMail | ( | Net::MessageIn & | msg | ) |
Definition at line 98 of file mailrecv.cpp.
References Inventory::addItem(), Equipm_false, Equipped_false, Favorite_false, fromBool, ItemColorManager::getColorFromCards(), MailViewWindow::getInventory(), MailMessage::id, Logger::log(), logger, mailViewWindow, mailWindow, maxCards, MailMessage::money, Actions::msg(), reportAlways, MailMessage::sender, Inventory::setCards(), MailWindow::showMessage(), MailMessage::strTime, MailMessage::text, MailMessage::time, timeToStr(), MailMessage::title, and MailViewWindow::updateItems().
void EAthena::MailRecv::processSendMailAck | ( | Net::MessageIn & | msg | ) |
Definition at line 180 of file mailrecv.cpp.
References NotifyTypes::MAIL_SEND_ERROR, NotifyTypes::MAIL_SEND_OK, Actions::msg(), NotifyManager::notify(), and UNIMPLEMENTEDPACKETFIELD.
void EAthena::MailRecv::processSetAttachmentAck | ( | Net::MessageIn & | msg | ) |
Definition at line 209 of file mailrecv.cpp.
References NotifyTypes::MAIL_ATTACH_ITEM_ERROR, NotifyTypes::MAIL_ATTACH_MONEY_ERROR, Actions::msg(), and NotifyManager::notify().