Wikia

WoWWiki

Changes: API CanShowAchievementUI

Edit

Back to page

(Typo fixing using AWB)
m
 
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 16:06, November 10, 2010

WoW API < CanShowAchievementUI

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

isEnabled = CanShowAchievementUI();


Arguments Edit

none


Returns Edit

isEnabled 
Boolean - can the achievement UI be displayed.


Details Edit

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

Around Wikia's network

Random Wiki