diff options
author | megamage <none@none> | 2009-05-10 14:43:29 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-10 14:43:29 -0500 |
commit | 6b8f75af99376929bb1ac99237aaf23c0fdfd565 (patch) | |
tree | 221181dc358e4099cf06f9dfdb8b917579316f0c /src/game/BattleGround.h | |
parent | 66c4b7b56086e59eb8e6fc324f48d90e92fb44f6 (diff) |
[7805] Refactoring batleground rewards code for cleanup and useful state for custom reward reuse. Author: Nezemnoy
--HG--
branch : trunk
Diffstat (limited to 'src/game/BattleGround.h')
-rw-r--r-- | src/game/BattleGround.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/BattleGround.h b/src/game/BattleGround.h index 9788f264502..509ba6eb972 100644 --- a/src/game/BattleGround.h +++ b/src/game/BattleGround.h @@ -421,7 +421,9 @@ class BattleGround void RewardReputationToTeam(uint32 faction_id, uint32 Reputation, uint32 TeamID); void RewardMark(Player *plr,uint32 count); void SendRewardMarkByMail(Player *plr,uint32 mark, uint32 count); - void RewardQuest(Player *plr); + void RewardItem(Player *plr, uint32 item_id, uint32 count); + void RewardQuestComplete(Player *plr); + void RewardSpellCast(Player *plr, uint32 spell_id); void UpdateWorldState(uint32 Field, uint32 Value); void UpdateWorldStateForPlayer(uint32 Field, uint32 Value, Player *Source); void EndBattleGround(uint32 winner); |