4978 {
4980 {
4982
4984 if (!item)
4985 return;
4986
4992 }
4993 }
@ ITEM_GOLD_MEDALLION
Definition: spell_generic.cpp:4932
@ MAIL_A_GOLD_MEDALLION
Definition: spell_generic.cpp:4927
@ SPELL_SPIRIT_OF_COMPETITION_WINNER_EFFECT
Definition: spell_generic.cpp:4924
@ NPC_SPIRIT_OF_COMPETITION
Definition: spell_generic.cpp:4929
@ MAIL_CHECK_MASK_HAS_BODY
Definition: Mail.h:51
SQLTransaction< CharacterDatabaseConnection > CharacterDatabaseTransaction
Definition: DatabaseEnvFwd.h:69
DatabaseWorkerPool< CharacterDatabaseConnection > CharacterDatabase
Accessor to the character database.
Definition: DatabaseEnv.cpp:21
static Item * CreateItem(uint32 item, uint32 count, Player const *player=nullptr, bool clone=false, uint32 randomPropertyId=0)
Definition: Item.cpp:1087
Definition: Player.h:1081
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:185
MailDraft & AddItem(Item *item)
Definition: Mail.cpp:93
Player * GetHitPlayer()
Definition: SpellScript.cpp:471