4945 {
4947 {
4949
4951 if (!item)
4952 return;
4953
4959 }
4960 }
@ ITEM_COMPETITORS_TABARD
Definition: spell_generic.cpp:4931
@ MAIL_THE_COMPETITIORS_TABARD
Definition: spell_generic.cpp:4926
@ SPELL_SPIRIT_OF_COMPETITION_PARTICIPANT_EFFECT
Definition: spell_generic.cpp:4923
@ 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