5004 {
5006 {
5008
5010 if (!item)
5011 return;
5012
5018 }
5019 }
@ 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_GOLD_MEDALLION
Definition: spell_generic.cpp:4958
@ MAIL_A_GOLD_MEDALLION
Definition: spell_generic.cpp:4953
@ SPELL_SPIRIT_OF_COMPETITION_WINNER_EFFECT
Definition: spell_generic.cpp:4950
@ 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