WoW API: FactionToggleAtWar

From AddOn Studio
Jump to navigation Jump to search

WoW API < FactionToggleAtWar

Toggle the At War status of a faction row.

FactionToggleAtWar(rowIndex)

Parameters[edit]

Arguments[edit]

(rowIndex)
rowIndex
Integer - The row index of the faction to toggle the At War status for. The row must have a true canToggleAtWar value (From GetFactionInfo)

Returns[edit]

nil


Details[edit]

The UPDATE_FACTION event will be fired after the change.