33{
35 {
39 break;
43 break;
44
45
46
47
51 break;
52 default:
55 LOG_ERROR(
"mail",
"MailSender::MailSender - Mail have unexpected sender typeid ({})", sender->
GetTypeId());
56 break;
57 }
58}
#define LOG_ERROR(filterType__,...)
Definition: Log.h:157
@ TYPEID_GAMEOBJECT
Definition: ObjectGuid.h:37
@ TYPEID_UNIT
Definition: ObjectGuid.h:35
@ TYPEID_PLAYER
Definition: ObjectGuid.h:36
@ MAIL_GAMEOBJECT
Definition: Mail.h:40
@ MAIL_CREATURE
Definition: Mail.h:39
@ MAIL_NORMAL
Definition: Mail.h:37
TypeID GetTypeId() const
Definition: Object.h:127
uint32 GetEntry() const
Definition: Object.h:115
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:112
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.