WoW:API GetWorldStateUIInfo: Difference between revisions

no edit summary
(Typo fixed, cleaned up and clarified what it returns beyond Warsong Gulch.)
No edit summary
Line 1: Line 1:
text, icon, isFlashing, dynamicIcon, tooltip, dynamicTooltip = GetWorldStateUIInfo(index);
Get score and flag status within a battlefield.
 
  state, text, icon, isFlashing, dynamicIcon, tooltip, dynamicTooltip, extendedUI, extendedUIState1, extendedUIState2, extendedUIState3 = GetWorldStateUIInfo(index);


----
----
Line 9: Line 11:
----
----
=== Returns ===
=== Returns ===
: text, icon, isFlashing, dynamicIcon, toolTip, dynamicTooltip
: state, text, icon, isFlashing, dynamicIcon, toolTip, dynamicTooltip, extendedUI, extendedUIState1, extendedUIState2, extendedUIState3


:;state : ? - unknown
:;text : String - Score ([score]/2000 inside [[Arathi Basin]]; [score]/3 inside [[Warsong Gulch]])
:;text : String - Score ([score]/2000 inside [[Arathi Basin]]; [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]])
Line 17: Line 20:
:;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")
:;dynamicTooltip : String - Tooltip displayed when hovering over the dynamicIcon (eg "Alliance flag has been picked up")
:;dynamicTooltip : String - Tooltip displayed when hovering over the dynamicIcon (eg "Alliance flag has been picked up")
:;extendedUI : ? - unknown
:;extendedUIState1 : ? - unknown
:;extendedUIState2 : ? - unknown
:;extendedUIState3 : ? - unknown


----
----
{{wowapi}}
{{wowapi}}