4971 {
4973 {
4975
4977 if (!item)
4978 return;
4979
4985 }
4986 }
@ MAIL_CHECK_MASK_HAS_BODY
Definition: Mail.h:52
SQLTransaction< CharacterDatabaseConnection > CharacterDatabaseTransaction
Definition: DatabaseEnvFwd.h:70
DatabaseWorkerPool< CharacterDatabaseConnection > CharacterDatabase
Accessor to the character database.
Definition: DatabaseEnv.cpp:21
@ ITEM_COMPETITORS_TABARD
Definition: spell_generic.cpp:4957
@ MAIL_THE_COMPETITIORS_TABARD
Definition: spell_generic.cpp:4952
@ SPELL_SPIRIT_OF_COMPETITION_PARTICIPANT_EFFECT
Definition: spell_generic.cpp:4949
@ NPC_SPIRIT_OF_COMPETITION
Definition: spell_generic.cpp:4955
static Item * CreateItem(uint32 item, uint32 count, Player const *player=nullptr, bool clone=false, uint32 randomPropertyId=0)
Definition: Item.cpp:1088
Definition: Player.h:1064
void SendMailTo(CharacterDatabaseTransaction trans, MailReceiver const &receiver, MailSender const &sender, MailCheckMask checked=MAIL_CHECK_MASK_NONE, uint32 deliver_delay=0, uint32 custom_expiration=0, bool deleteMailItemsFromDB=false, bool sendMail=true)
Definition: Mail.cpp:186
MailDraft & AddItem(Item *item)
Definition: Mail.cpp:94
Player * GetHitPlayer()
Definition: SpellScript.cpp:471