diff options
author | n0n4m3 <none@none> | 2009-12-25 15:53:37 +0100 |
---|---|---|
committer | n0n4m3 <none@none> | 2009-12-25 15:53:37 +0100 |
commit | 07e2920b6018e7da5a99b19614c6a5bd57ef0f46 (patch) | |
tree | 1fd9886f852ff65b62ae7bbd8b86d28edc6d5c12 /src/game/InstanceData.h | |
parent | 7deb87502ea7bce8f8a783740ab7c2fa6087d97d (diff) |
Implement ACHIEVEMENT_CRITERIA_DATA_INSTANCE_SCRIPT. by VladimirMangos
--HG--
branch : trunk
Diffstat (limited to 'src/game/InstanceData.h')
-rw-r--r-- | src/game/InstanceData.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/InstanceData.h b/src/game/InstanceData.h index ccc389d8cc2..61a7ee7fffe 100644 --- a/src/game/InstanceData.h +++ b/src/game/InstanceData.h @@ -181,6 +181,10 @@ class TRINITY_DLL_SPEC InstanceData : public ZoneScript std::vector<BossInfo> bosses; DoorInfoMap doors; MinionInfoMap minions; + + // Achievement criteria additional requirements check + // NOTE: not use this if same can be checked existed requirement types from AchievementCriteriaRequirementType + virtual bool CheckAchievementCriteriaMeet(uint32 /*criteria_id*/, Player const* /*source*/, Unit const* /*target*/ = NULL, uint32 /*miscvalue1*/ = 0); }; #endif |