WoW:API FactionToggleAtWar: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API FactionToggleAtWar to API FactionToggleAtWar without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<center>'''FactionToggleAtWar''' - ''Documentation by [[User:Flickering|Flickering]]''</center>
{{wowapi}}


Toggle the At War status of a faction row.
Toggle the At War status of a faction row.
Line 10: Line 10:
:;rowIndex : Integer - The row index of the faction to toggle the At War status for. The row must have a true canToggleAtWar value (From [[API GetFactionInfo|GetFactionInfo]])
:;rowIndex : Integer - The row index of the faction to toggle the At War status for. The row must have a true canToggleAtWar value (From [[API GetFactionInfo|GetFactionInfo]])
=== Returns ===
=== Returns ===
:<i>nil</i>
:''nil''




== Details ==
== Details ==
: The UPDATE_FACTION event will be fired after the change.
: The UPDATE_FACTION event will be fired after the change.
----
{{WoW API}}

Latest revision as of 04:45, 15 August 2023

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.