diff options
author | Shauren <shauren.trinity@gmail.com> | 2016-05-07 01:16:29 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2016-05-07 01:16:29 +0200 |
commit | c75fcbe20b07fd7518be58bf02ba30d903133449 (patch) | |
tree | 747a9ecc6a91ffc04d394090c0a3d2e588f630b4 /src/server/game/Instances/InstanceScript.h | |
parent | 44962fe3a9551f183ee9003c8947d5f433cfee16 (diff) |
Core/Achievements: AchievementMgr refactoring
* Extracted base CriteriaHandler class that deals with criteria only and will be reused for future scenario implementation
* Fixed players earning guild achievements
Diffstat (limited to 'src/server/game/Instances/InstanceScript.h')
-rw-r--r-- | src/server/game/Instances/InstanceScript.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Instances/InstanceScript.h b/src/server/game/Instances/InstanceScript.h index 7a2daaaecf8..92c7be92752 100644 --- a/src/server/game/Instances/InstanceScript.h +++ b/src/server/game/Instances/InstanceScript.h @@ -210,11 +210,11 @@ class TC_GAME_API InstanceScript : public ZoneScript void DoSendNotifyToInstance(char const* format, ...); // Update Achievement Criteria for all players in instance - void DoUpdateAchievementCriteria(AchievementCriteriaTypes type, uint32 miscValue1 = 0, uint32 miscValue2 = 0, Unit* unit = NULL); + void DoUpdateCriteria(CriteriaTypes type, uint32 miscValue1 = 0, uint32 miscValue2 = 0, Unit* unit = NULL); // Start/Stop Timed Achievement Criteria for all players in instance - void DoStartTimedAchievement(AchievementCriteriaTimedTypes type, uint32 entry); - void DoStopTimedAchievement(AchievementCriteriaTimedTypes type, uint32 entry); + void DoStartCriteriaTimer(CriteriaTimedTypes type, uint32 entry); + void DoStopCriteriaTimer(CriteriaTimedTypes type, uint32 entry); // Remove Auras due to Spell on all players in instance void DoRemoveAurasDueToSpellOnPlayers(uint32 spell); |