WoW:API CanShowAchievementUI: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(New page: {{wowapi}} __NOTOC__ <!-- Describe the purpose of the function, exhausting detail can be saved for a later section --> Returns a boolean indicating if the achievement UI is accessable and...)
 
(Typo fixing using AWB)
Line 2: Line 2:


<!-- Describe the purpose of the function, exhausting detail can be saved for a later section -->
<!-- Describe the purpose of the function, exhausting detail can be saved for a later section -->
Returns a boolean indicating if the achievement UI is accessable and wether the microbutton should be shown.
Returns a boolean indicating if the achievement UI is accessible and whether the microbutton should be shown.
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
  isEnabled = CanShowAchievementUI();
  isEnabled = CanShowAchievementUI();

Revision as of 15:25, 22 November 2008

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