WoW:API GetWorldStateUIInfo: Difference between revisions

removed isFlashing
mNo edit summary
(removed isFlashing)
Line 1: Line 1:
Get score and flag status within a battlefield.  
Get score and flag status within a battlefield.  


   uiType, state, text, icon, isFlashing, dynamicIcon, tooltip, dynamicTooltip, extendedUI, extendedUIState1, extendedUIState2, extendedUIState3 = GetWorldStateUIInfo(index);
   uiType, state, text, icon, dynamicIcon, tooltip, dynamicTooltip, extendedUI, extendedUIState1, extendedUIState2, extendedUIState3 = GetWorldStateUIInfo(index);


----
----
Line 11: Line 11:


=== Returns ===
=== Returns ===
: uiType, state, text, icon, isFlashing, dynamicIcon, toolTip, dynamicTooltip, extendedUI, extendedUIState1, extendedUIState2, extendedUIState3
: uiType, state, text, icon, dynamicIcon, tooltip, dynamicTooltip, extendedUI, extendedUIState1, extendedUIState2, extendedUIState3


:;uiType : Integer - Unknown, added in 2.1.0.
:;uiType : Integer - Unknown, added in 2.1.0.
Line 17: Line 17:
:;text : String - Score ([score]/2000 inside [[Arathi Basin]] and [[Eye of the Storm]]; [score]/3 inside [[Warsong Gulch]])
:;text : String - Score ([score]/2000 inside [[Arathi Basin]] and [[Eye of the Storm]]; [score]/3 inside [[Warsong Gulch]])
:;icon : String - Icon ({{Alliance Icon Small}} or {{Horde Icon Small}} icon path returned inside [[Warsong Gulch]])
:;icon : String - Icon ({{Alliance Icon Small}} or {{Horde Icon Small}} icon path returned inside [[Warsong Gulch]])
:;isFlashing : Boolean - Whether or not the dynamicIcon should be flashing (it flashes if somebody has the flag)
:;dynamicIcon : String - Second icon thats usually position to the right of the main icon (Alliance flag or Horde flag icon path returned insied [[Warsong Gulch]])
:;dynamicIcon : String - Second icon thats usually position to the right of the main icon (Alliance flag or Horde flag icon path returned insied [[Warsong Gulch]])
:;tooltip : String - Tooltip displayed when hovering over the row (eg "Horde flag captures")
:;tooltip : String - Tooltip displayed when hovering over the row (eg "Horde flag captures")
Anonymous user