


GetAchievementCriteriaInfo(achievementID, criteriaIndex) - Returns information about the requested criteria. GetAchievementComparisonInfo(achievementID, comparisonNum) - Returns status of achievement for comparison player. GetAchievementCategory(achievementID) - Return the category number of the requested achievement. CanShowAchievementUI() - Returns if the AchievementUI can be displayed ClearAchievementComparisonUnit() - Remove the unit being compared. These functions are only available in Patch 3.0 AddTrackedAchievement(achievementId) - Add an achievement to tracking. NoPlayTime() - returns 1 if the player is currently "unhealthy": no XP, loot. PartialPlayTime() - returns 1 if the player is currently "tired": reduced XP, loot. GetBillingTimeRested() - returns the time spent logged in current billing unit. These functions only return meaningful values on Asian realms all three relate to the play time limitation system. run local x=GetAccountExpansionLevel() SendChatMessage(x)Īccount GetAccountExpansionLevel() - Returns registered expansion. should be moved from here to Removed Functions.Ĭalling functions via macro or command line: DEPRECATED - is planned to no longer be used, and more than likely removed in future version.UI - is implemented in Lua in FrameXML, but was important enough to appear here.HW - may only be called in response to a hardware event, like from OnClick handlers.NOCOMBAT - can only be called from secure code while out of combat.PROTECTED - can only be called from secure code.If you're contributing documentation, please read How to edit API pages.įunction names can be prefixed with the following tags, see API notation and conventions:

