AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "Mail.h"
Public Member Functions | |
void | AddItem (ObjectGuid::LowType itemGuidLow, uint32 item_template) |
bool | RemoveItem (ObjectGuid::LowType item_guid) |
bool | HasItems () const |
bool | IsSentByPlayer () const |
bool | IsSentByGM () const |
bool | IsCODPayment () const |
bool | IsReturnedMail () const |
Public Attributes | |
uint32 | messageID |
uint8 | messageType |
uint8 | stationery |
uint16 | mailTemplateId |
uint32 | sender |
ObjectGuid::LowType | receiver |
std::string | subject |
std::string | body |
std::vector< MailItemInfo > | items |
std::vector< uint32 > | removedItems |
time_t | expire_time |
time_t | deliver_time |
uint32 | money |
uint32 | COD |
uint32 | checked |
MailState | state |
|
inline |
References MailItemInfo::item_guid, MailItemInfo::item_template, and items.
Referenced by Player::_LoadMailedItem(), and MailDraft::SendMailTo().
|
inline |
|
inline |
References checked, and MAIL_CHECK_MASK_COD_PAYMENT.
Referenced by ObjectMgr::ReturnOrDeleteOldMails().
|
inline |
References checked, and MAIL_CHECK_MASK_RETURNED.
Referenced by ObjectMgr::ReturnOrDeleteOldMails().
|
inline |
|
inline |
|
inline |
References items.
Referenced by WorldSession::HandleMailTakeItem().
std::string Mail::body |
uint32 Mail::checked |
uint32 Mail::COD |
time_t Mail::deliver_time |
time_t Mail::expire_time |
Referenced by Player::_LoadMail(), Player::_SaveMail(), ObjectMgr::ReturnOrDeleteOldMails(), and MailDraft::SendMailTo().
std::vector<MailItemInfo> Mail::items |
uint16 Mail::mailTemplateId |
uint32 Mail::messageID |
Referenced by Player::_LoadMail(), Player::_SaveMail(), ObjectMgr::ReturnOrDeleteOldMails(), and MailDraft::SendMailTo().
uint8 Mail::messageType |
uint32 Mail::money |
ObjectGuid::LowType Mail::receiver |
std::vector<uint32> Mail::removedItems |
Referenced by Player::_SaveMail(), and WorldSession::HandleMailTakeItem().
uint32 Mail::sender |
MailState Mail::state |
Referenced by Player::_LoadMail(), Player::_SaveMail(), WorldSession::HandleMailCreateTextItem(), WorldSession::HandleMailDelete(), WorldSession::HandleMailMarkAsRead(), WorldSession::HandleMailReturnToSender(), WorldSession::HandleMailTakeItem(), WorldSession::HandleMailTakeMoney(), and MailDraft::SendMailTo().
uint8 Mail::stationery |
Referenced by Player::_LoadMail(), IsSentByGM(), ObjectMgr::ReturnOrDeleteOldMails(), and MailDraft::SendMailTo().
std::string Mail::subject |