WoW:API GetFactionInfo: Difference between revisions

m
Added isWatched return value
No edit summary
m (Added isWatched return value)
Line 3: Line 3:
Get's details for a specific faction/faction header.
Get's details for a specific faction/faction header.


  name, description, standingId, bottomValue, topValue, earnedValue, atWarWith, canToggleAtWar, isHeader, isCollapsed = GetFactionInfo(factionIndex)
  name, description, standingId, bottomValue, topValue, earnedValue, atWarWith,
  canToggleAtWar, isHeader, isCollapsed, isWatched = GetFactionInfo(factionIndex)
== Parameters ==
== Parameters ==
=== Arguments ===
=== Arguments ===
Line 22: Line 23:
:;isHeader : Flag - 1 if this row is a header row, nil otherwise.
:;isHeader : Flag - 1 if this row is a header row, nil otherwise.
:;isCollapsed : Flag - 1 if this row is a collapsed header row, nil otherwise.
:;isCollapsed : Flag - 1 if this row is a collapsed header row, nil otherwise.
:;isWatched : Flag - 1 if this faction is being watched (faction progress bar in default UI), nil otherwise.
== Notes ==
== Notes ==
Thanks to [[User:Flickering|Flickering]] for cleaning up the formatting.
Thanks to [[User:Flickering|Flickering]] for cleaning up the formatting.
Anonymous user