![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Represents a server mail template, including rewards, conditions, and metadata. More...
#include "ServerMailMgr.h"
Public Member Functions | |
ServerMail ()=default | |
Public Attributes | |
uint32 | id { 0 } |
uint32 | moneyA { 0 } |
uint32 | moneyH { 0 } |
std::string | subject |
std::string | body |
uint8 | active { 0 } |
std::vector< ServerMailCondition > | conditions |
std::vector< ServerMailItems > | itemsA |
std::vector< ServerMailItems > | itemsH |
Represents a server mail template, including rewards, conditions, and metadata.
This structure defines a mail template that can be sent to players upon login, provided they meet the associated conditions.
|
default |
uint8 ServerMail::active { 0 } |
std::string ServerMail::body |
Referenced by ServerMailReward::OnPlayerLogin().
std::vector<ServerMailCondition> ServerMail::conditions |
Referenced by ServerMailReward::OnPlayerLogin().
uint32 ServerMail::id { 0 } |
Referenced by ServerMailMgr::LoadMailServerTemplates(), and ServerMailReward::OnPlayerLogin().
std::vector<ServerMailItems> ServerMail::itemsA |
Referenced by ServerMailReward::OnPlayerLogin().
std::vector<ServerMailItems> ServerMail::itemsH |
Referenced by ServerMailReward::OnPlayerLogin().
uint32 ServerMail::moneyA { 0 } |
Referenced by ServerMailReward::OnPlayerLogin().
uint32 ServerMail::moneyH { 0 } |
Referenced by ServerMailReward::OnPlayerLogin().
std::string ServerMail::subject |
Referenced by ServerMailReward::OnPlayerLogin().