WoW:API CanShowAchievementUI: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Typo fixing using AWB)
m (Move page script moved page API CanShowAchievementUI to WoW:API CanShowAchievementUI without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 23: Line 23:


: Usually returns true on live realms. This function was mostly used to hide the achievement UI if it was in an unusable state on the WotLK Beta / PTR
: Usually returns true on live realms. This function was mostly used to hide the achievement UI if it was in an unusable state on the WotLK Beta / PTR
: This also returns false when the achievement data isn't available yet, which is useful if an addon want to read the achievement data after load

Latest revision as of 04:45, 15 August 2023

WoW API < CanShowAchievementUI

Returns a boolean indicating if the achievement UI is accessible and whether the microbutton should be shown.

isEnabled = CanShowAchievementUI();


Arguments

none


Returns

isEnabled
Boolean - can the achievement UI be displayed.


Details

Usually returns true on live realms. This function was mostly used to hide the achievement UI if it was in an unusable state on the WotLK Beta / PTR
This also returns false when the achievement data isn't available yet, which is useful if an addon want to read the achievement data after load