WoW:API GetWorldStateUIInfo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Typo fixed, cleaned up and clarified what it returns beyond Warsong Gulch.) |
||
Line 1: | Line 1: | ||
text, icon, isFlashing, dynamicIcon, tooltip, dynamicTooltip = GetWorldStateUIInfo( | text, icon, isFlashing, dynamicIcon, tooltip, dynamicTooltip = GetWorldStateUIInfo(index); | ||
---- | ---- | ||
=== Arguments === | === Arguments === | ||
: index | |||
:; index : Interger - Row to return data for | |||
:; | |||
---- | ---- | ||
=== Returns === | === Returns === | ||
: text, icon, isFlashing, dynamicIcon, toolTip, dynamicTooltip | |||
:;text : String - Score ([score]/2000 inside [[Arathi Basin]]; [score]/3 inside [[Warsong Gulch]]) | |||
:;text : String - | :;icon : String - Icon ({{Alliance Icon Small}} or {{Horde Icon Small}} icon path returned inside [[Warsong Gulch]]) | ||
:;icon : String - | :;isFlashing : Boolean - Wether or not the dynamicIcon should be flashing (it flashes if somebody has the flag) | ||
:;isFlashing : Boolean - | :;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 - | :;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") | ||
:; | |||
---- | ---- | ||
{{ | {{wowapi}} |
Revision as of 02:11, 13 July 2006
text, icon, isFlashing, dynamicIcon, tooltip, dynamicTooltip = GetWorldStateUIInfo(index);
Arguments
- index
- index
- Interger - Row to return data for
Returns
- text, icon, isFlashing, dynamicIcon, toolTip, dynamicTooltip
- text
- String - Score ([score]/2000 inside Arathi Basin; [score]/3 inside Warsong Gulch)
- icon
- String - Icon (Template:Alliance Icon Small or Template:Horde Icon Small icon path returned inside Warsong Gulch)
- isFlashing
- Boolean - Wether 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)
- 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")