v0.13.8

C_MajorFactions

namespaceavailable in: camelot

Status in wowlua

14 functions: 4 implemented, 3 recorded, 7 guessed. 4 events, 1 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
GetCurrentRenownLevelReturns the player's renown level with a major faction. · by wowlua
(majorFactionID: number): number
implemented
GetMajorFactionDataReturns information about a major faction. · by wowlua
(majorFactionID: number): MajorFactionData?
recorded
GetMajorFactionIDsReturns the IDs of the major factions of an expansion. · by wowlua
(expansionID: number?): number[]
guessed
GetMajorFactionProgressionInfoReturns the player's progress with a major faction. · by wowlua
(majorFactionID: number): MajorFactionProgressionInfo?
implemented
GetMajorFactionRenownInfoReturns the player's renown with a major faction. · by wowlua
(majorFactionID: number): MajorFactionRenownInfo?
guessed
GetRenownLevelsReturns the renown levels of a major faction. · by wowlua
(majorFactionID: number): MajorFactionRenownLevelInfo[]
recorded
GetRenownNPCFactionIDReturns the major faction of the renown NPC the player is talking to. · by wowlua
(): number
guessed
GetRenownRewardsForLevelReturns the rewards of a major faction's renown level. · by wowlua
(majorFactionID: number, renownLevel: number): MajorFactionRenownRewardInfo[]
implemented
GetTotalReputationForRenownLevelReturns the total reputation needed to reach a renown level. · by wowlua
(majorFactionID: number, renownLevel: number): number
implemented
HasMaximumRenownWhether the player has reached the highest renown level with a major faction. · by wowlua
(majorFactionID: number): boolean
guessed
IsMajorFactionHiddenFromExpansionPageWhether a major faction is left off the expansion landing page. · by wowlua
(majorFactionID: number): boolean
recorded
IsWeeklyRenownCappedWhether the player reached this week's renown cap with a major faction. · by wowlua
(majorFactionID: number): boolean
guessed
ShouldDisplayMajorFactionAsJourneyWhether a major faction is shown as a journey. · by wowlua
(majorFactionID: number): boolean
guessed
ShouldUseJourneyRewardTrackWhether a major faction uses the journey reward track. · by wowlua
(majorFactionID: number): boolean
guessed

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
MAJOR_FACTION_INTERACTION_ENDEDno payloadnot implemented
MAJOR_FACTION_INTERACTION_STARTEDno payloadnot implemented
MAJOR_FACTION_RENOWN_LEVEL_CHANGEDmajorFactionID: number, newRenownLevel: number, oldRenownLevel: numberimplemented
MAJOR_FACTION_UNLOCKEDmajorFactionID: numbernot implemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("MAJOR_FACTION_INTERACTION_ENDED").

Structures

  • MajorFactionData · name, description, highlights, factionID, expansionID, bountySetID, isUnlocked, useJourneyUnlockToast, hideRenownLevelUpToast, unlockDescription?, uiPriority, renownLevel, maxLevel, renownReputationEarned, renownLevelThreshold, textureKit, celebrationSoundKit, renownFanfareSoundKitID, factionFontColor?, renownTrackLevelEffectID?, playerCompanionID?
  • MajorFactionProgressionInfo · renownLevel, previousWeekProgressiveMaxLevel, currentWeekProgressiveMaxLevel, maxLevel, renownReputationEarned, renownLevelThreshold, weekNumber
  • MajorFactionRenownInfo · renownLevel, renownReputationEarned, renownLevelThreshold
  • MajorFactionRenownLevelInfo · factionID, level, locked, isMilestone, isCapstone
  • MajorFactionRenownRewardInfo · renownRewardID, uiOrder, isAccountUnlock, itemID?, spellID?, mountID?, transmogID?, transmogSetID?, titleMaskID?, transmogIllusionSourceID?, icon?, name?, description?, toastDescription?, rewardType?, isCollected?
  • RenownHighlightInfo · title, description, level

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (MajorFactionsUI system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.