ManaPlus
|
#include <mail2handler.h>
Public Member Functions | |
Mail2Handler () | |
~Mail2Handler () | |
void | openWriteMail (const std::string &receiver) const |
void | addItem (const Item *const item, const int amount) const |
void | removeItem (const int index, const int amount) const |
void | sendMail (const std::string &to, const std::string &title, const std::string &body, const int64_t &money) const |
void | queueCheckName (const MailQueueTypeT type, const std::string &to, const std::string &title, const std::string &body, const int64_t &money) const |
void | nextPage (const MailOpenTypeT openType, const int64_t mailId) const |
void | readMail (const MailOpenTypeT openType, const int64_t mailId) const |
void | deleteMail (const MailOpenTypeT openType, const int64_t mailId) const |
void | requestMoney (const MailOpenTypeT openType, const int64_t mailId) const |
void | requestItems (const MailOpenTypeT openType, const int64_t mailId) const |
void | refreshMailList (const MailOpenTypeT openType, const int64_t mailId) const |
void | openMailBox (const MailOpenTypeT openType) const |
void | closeMailBox () const |
void | cancelWriteMail () const |
void | requestCheckName (const std::string &name) const |
std::string | getCheckedName () const |
Public Member Functions inherited from Net::Mail2Handler | |
Mail2Handler () | |
Definition at line 30 of file mail2handler.h.
EAthena::Mail2Handler::Mail2Handler | ( | ) |
|
virtual |
Reimplemented from Net::Mail2Handler.
Definition at line 51 of file mail2handler.cpp.
References empty, mail2Handler, EAthena::Mail2Recv::mCheckedName, and EAthena::Mail2Recv::mMailQueue.
|
virtual |
Implements Net::Mail2Handler.
Definition at line 71 of file mail2handler.cpp.
References CAST_S16, createOutPacket, Item::getInvIndex(), INVENTORY_OFFSET, and packetVersion.
|
virtual |
Implements Net::Mail2Handler.
Definition at line 244 of file mail2handler.cpp.
References createOutPacket, and packetVersion.
|
virtual |
Implements Net::Mail2Handler.
Definition at line 237 of file mail2handler.cpp.
References createOutPacket, and packetVersion.
|
virtual |
Implements Net::Mail2Handler.
Definition at line 168 of file mail2handler.cpp.
References createOutPacket, packetVersion, and toInt.
|
virtual |
Implements Net::Mail2Handler.
Definition at line 259 of file mail2handler.cpp.
References EAthena::Mail2Recv::mCheckedName.
|
virtual |
Implements Net::Mail2Handler.
Definition at line 148 of file mail2handler.cpp.
References createOutPacket, packetVersion, and toInt.
|
virtual |
Implements Net::Mail2Handler.
Definition at line 219 of file mail2handler.cpp.
References createOutPacket, packetVersion, and toInt.
|
virtual |
Implements Net::Mail2Handler.
Definition at line 63 of file mail2handler.cpp.
References createOutPacket, and packetVersion.
|
virtual |
Implements Net::Mail2Handler.
Definition at line 132 of file mail2handler.cpp.
References MailQueue::body, EAthena::Mail2Recv::mMailQueue, MailQueue::money, requestCheckName(), MailQueue::title, MailQueue::to, and MailQueue::type.
|
virtual |
Implements Net::Mail2Handler.
Definition at line 158 of file mail2handler.cpp.
References createOutPacket, packetVersion, and toInt.
|
virtual |
Implements Net::Mail2Handler.
Definition at line 198 of file mail2handler.cpp.
References createOutPacket, packetVersion, and toInt.
|
virtual |
Implements Net::Mail2Handler.
Definition at line 85 of file mail2handler.cpp.
References CAST_S16, createOutPacket, INVENTORY_OFFSET, and packetVersion.
|
virtual |
Implements Net::Mail2Handler.
Definition at line 251 of file mail2handler.cpp.
References createOutPacket, and packetVersion.
Referenced by queueCheckName().
|
virtual |
Implements Net::Mail2Handler.
Definition at line 188 of file mail2handler.cpp.
References createOutPacket, packetVersion, and toInt.
|
virtual |
Implements Net::Mail2Handler.
Definition at line 178 of file mail2handler.cpp.
References createOutPacket, packetVersion, and toInt.
|
virtual |
Implements Net::Mail2Handler.
Definition at line 96 of file mail2handler.cpp.
References CAST_S16, CAST_S32, createOutPacket, Being::getName(), localPlayer, EAthena::Mail2Recv::mCheckedName, packetVersion, and reportAlways.