Files
wow_Meta/api/GetFactionInfoByID.lua
2025-05-04 15:15:00 +02:00

31 lines
1.1 KiB
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@param factionID number
---@return string name
---@return string description
---@return 8 standingID
---@return 1
---@return 2
---@return 3
---@return 4
---@return 5
---@return 6
---@return 7
---@return 8
---@return number barMin
---@return number barMax
---@return number barValue
---@return 1nil atWarWith
---@return 1nil canToggleAtWar
---@return 1nil isHeader
---@return 1nil isCollapsed
---@return 1nil hasRep
---@return 1nil isWatched
---@return 1nil isChild
---@return number factionID
---@return 1nil hasBonusRepGain
---@return 1nil canBeLFGBonus
---Returns information about a faction or header listing. Returns information about a faction regardless of whether the faction is known to the player (indeed, even for factions only available to the opposing alliance); see GetFactionInfo for information about factions listed in the player's Reputation UI. Faction IDs used by this function match those found on database sites (e.g. Guardians of Hyjal) and are also returned by GetQuestLogRewardFactionInfo.
function GetFactionInfoByID(factionID) end