→Details
| Line 11: | Line 11: | ||
=== Returns === | === Returns === | ||
: state, text, icon, isFlashing, dynamicIcon, toolTip, dynamicTooltip, extendedUI, extendedUIState1, extendedUIState2, extendedUIState3 | : uiType, state, text, icon, isFlashing, dynamicIcon, toolTip, dynamicTooltip, extendedUI, extendedUIState1, extendedUIState2, extendedUIState3 | ||
:;uiType : Integer - Unknown, added in 2.1.0. | |||
:;state : In [[Warsong Gulch]], returns 1 if the team does not hold the enemy flag and 2 if the team does. Returns 0 outside of the battleground. | :;state : In [[Warsong Gulch]], returns 1 if the team does not hold the enemy flag and 2 if the team does. Returns 0 outside of the battleground. | ||
:;text : String - Score ([score]/2000 inside [[Arathi Basin]]; [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 - Wether or not the dynamicIcon should be flashing (it flashes if somebody has the flag) | :;isFlashing : Boolean - Wether or not the dynamicIcon should be flashing (it flashes if somebody has the flag) | ||
| Line 24: | Line 25: | ||
:;extendedUIState2 : Integer - for CaptureBar: current objective position : 100 means left, 0 means right, | :;extendedUIState2 : Integer - for CaptureBar: current objective position : 100 means left, 0 means right, | ||
:;extendedUIState3 : Integer - for CaptureBar: neutral zone width : 0 means no neutral zone, 90 means 5% Alliance, 90% neutral and 5% Horde. | :;extendedUIState3 : Integer - for CaptureBar: neutral zone width : 0 means no neutral zone, 90 means 5% Alliance, 90% neutral and 5% Horde. | ||
---- | |||
=== Details === | |||
: 2.1 added a new argument called uiType to GetWorldStateUIInfo, because this was added as the first argument you will have to update any code that uses this function. | |||
: In [[The Burning Crusade]] this is used for more then just PvP, you can find it used for some instances like [[Black Morass]]. | |||
---- | ---- | ||
{{wowapi}} | {{wowapi}} | ||