Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the time until the next battle in a PvP zone like Wintergrasp and Tol Barad.
pvpWaitTime = C_PvP.GetOutdoorPvPWaitTime(uiMapID)
Arguments[]
- uiMapID
- number : UiMapID
Returns[]
- pvpWaitTime
- number - seconds until the battle starts.
Details[]
- This will only return a good value if the map is zoned on an outdoor battle map and you are not in an instance.
Patch changes[]
Patch 8.0.1 (2018-07-17): Moved to C_PvP.GetOutdoorPvPWaitTime.
Patch 3.2.0 (2009-08-04): Added as GetOutdoorPVPWaitTime.