34{
36 {
40 break;
44 break;
45
46
47
48
52 break;
53 default:
56 LOG_ERROR(
"mail",
"MailSender::MailSender - Mail have unexpected sender typeid ({})", sender->
GetTypeId());
57 break;
58 }
59}
#define LOG_ERROR(filterType__,...)
Definition: Log.h:156
@ TYPEID_GAMEOBJECT
Definition: ObjectGuid.h:37
@ TYPEID_UNIT
Definition: ObjectGuid.h:35
@ TYPEID_PLAYER
Definition: ObjectGuid.h:36
@ MAIL_GAMEOBJECT
Definition: Mail.h:41
@ MAIL_CREATURE
Definition: Mail.h:40
@ MAIL_NORMAL
Definition: Mail.h:38
TypeID GetTypeId() const
Definition: Object.h:124
uint32 GetEntry() const
Definition: Object.h:112
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:109
LowType GetCounter() const
Definition: ObjectGuid.h:145
References ObjectGuid::GetCounter(), Object::GetEntry(), Object::GetGUID(), Object::GetTypeId(), LOG_ERROR, m_messageType, m_senderId, MAIL_CREATURE, MAIL_GAMEOBJECT, MAIL_NORMAL, TYPEID_GAMEOBJECT, TYPEID_PLAYER, and TYPEID_UNIT.