AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
ServerMail Struct Reference

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< ServerMailConditionconditions
 
std::vector< ServerMailItemsitemsA
 
std::vector< ServerMailItemsitemsH
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ServerMail()

ServerMail::ServerMail ( )
default

Member Data Documentation

◆ active

uint8 ServerMail::active { 0 }
133{ 0 };

◆ body

std::string ServerMail::body

◆ conditions

std::vector<ServerMailCondition> ServerMail::conditions

◆ id

uint32 ServerMail::id { 0 }

◆ itemsA

std::vector<ServerMailItems> ServerMail::itemsA

◆ itemsH

std::vector<ServerMailItems> ServerMail::itemsH

◆ moneyA

uint32 ServerMail::moneyA { 0 }
129{ 0 };

Referenced by ServerMailReward::OnPlayerLogin().

◆ moneyH

uint32 ServerMail::moneyH { 0 }
130{ 0 };

Referenced by ServerMailReward::OnPlayerLogin().

◆ subject

std::string ServerMail::subject

The documentation for this struct was generated from the following file: