4958 {
4960 {
4962
4964 if (!item)
4965 return;
4966
4972 }
4973 }
@ MAIL_CHECK_MASK_HAS_BODY
Definition: Mail.h:52
SQLTransaction< CharacterDatabaseConnection > CharacterDatabaseTransaction
Definition: DatabaseEnvFwd.h:69
DatabaseWorkerPool< CharacterDatabaseConnection > CharacterDatabase
Accessor to the character database.
Definition: DatabaseEnv.cpp:21
@ ITEM_COMPETITORS_TABARD
Definition: spell_generic.cpp:4944
@ MAIL_THE_COMPETITIORS_TABARD
Definition: spell_generic.cpp:4939
@ SPELL_SPIRIT_OF_COMPETITION_PARTICIPANT_EFFECT
Definition: spell_generic.cpp:4936
@ NPC_SPIRIT_OF_COMPETITION
Definition: spell_generic.cpp:4942
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