WoW:API GetWatchedFactionInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
m (Move page script moved page API GetWatchedFactionInfo to API GetWatchedFactionInfo without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
<center>'''GetWatchedFactionInfo''' ''-Documentation by Maldivia-''</center>
Returns information about the faction that is currently being watched.
Returns information about the faction that is currently being watched.


Line 9: Line 7:
:name, reaction, min, max, value
:name, reaction, min, max, value


:;name : String - The name of the faction curretly being watched, nil if no faction is being watched.
:;name
:;standing : Integer - The [[API TYPE StandingId|StandingId]] with the faction.
:: String - The name of the faction curretly being watched, nil if no faction is being watched.
:;min : Integer - The minimum bound for the current standing, for instance 21000 for Revered.
:;standing
:;max : Integer - The maximum bound for the current standing, for instance 42000 for Revered.
:: Integer - The [[API TYPE StandingId|StandingId]] with the faction.
:;value : Integer - The current faction level, within the bounds.
:;min
:: Integer - The minimum bound for the current standing, for instance 21000 for Revered.
:;max
:: Integer - The maximum bound for the current standing, for instance 42000 for Exalted.
:;value
:: Integer - The current faction level, within the bounds.


==Details==
==Details==
: Added in 1.10.0
: Added in 1.10.0
__NOTOC__
__NOTOC__

Latest revision as of 04:46, 15 August 2023

WoW API < GetWatchedFactionInfo

Returns information about the faction that is currently being watched.

name, standing, min, max, value = GetWatchedFactionInfo()

Parameters

Returns

name, reaction, min, max, value
name
String - The name of the faction curretly being watched, nil if no faction is being watched.
standing
Integer - The StandingId with the faction.
min
Integer - The minimum bound for the current standing, for instance 21000 for Revered.
max
Integer - The maximum bound for the current standing, for instance 42000 for Exalted.
value
Integer - The current faction level, within the bounds.

Details

Added in 1.10.0