C_MajorFactions
namespaceavailable in: camelotStatus in wowlua
14 functions: 4 implemented, 3 recorded, 7 guessed. 4 events, 1 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
GetCurrentRenownLevel | Returns the player's renown level with a major faction. · by wowlua(majorFactionID: number): number | implemented |
GetMajorFactionData | Returns information about a major faction. · by wowlua(majorFactionID: number): MajorFactionData? | recorded |
GetMajorFactionIDs | Returns the IDs of the major factions of an expansion. · by wowlua(expansionID: number?): number[] | guessed |
GetMajorFactionProgressionInfo | Returns the player's progress with a major faction. · by wowlua(majorFactionID: number): MajorFactionProgressionInfo? | implemented |
GetMajorFactionRenownInfo | Returns the player's renown with a major faction. · by wowlua(majorFactionID: number): MajorFactionRenownInfo? | guessed |
GetRenownLevels | Returns the renown levels of a major faction. · by wowlua(majorFactionID: number): MajorFactionRenownLevelInfo[] | recorded |
GetRenownNPCFactionID | Returns the major faction of the renown NPC the player is talking to. · by wowlua(): number | guessed |
GetRenownRewardsForLevel | Returns the rewards of a major faction's renown level. · by wowlua(majorFactionID: number, renownLevel: number): MajorFactionRenownRewardInfo[] | implemented |
GetTotalReputationForRenownLevel | Returns the total reputation needed to reach a renown level. · by wowlua(majorFactionID: number, renownLevel: number): number | implemented |
HasMaximumRenown | Whether the player has reached the highest renown level with a major faction. · by wowlua(majorFactionID: number): boolean | guessed |
IsMajorFactionHiddenFromExpansionPage | Whether a major faction is left off the expansion landing page. · by wowlua(majorFactionID: number): boolean | recorded |
IsWeeklyRenownCapped | Whether the player reached this week's renown cap with a major faction. · by wowlua(majorFactionID: number): boolean | guessed |
ShouldDisplayMajorFactionAsJourney | Whether a major faction is shown as a journey. · by wowlua(majorFactionID: number): boolean | guessed |
ShouldUseJourneyRewardTrack | Whether 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
| event | payload | fired by the emulator |
|---|---|---|
MAJOR_FACTION_INTERACTION_ENDED | no payload | not implemented |
MAJOR_FACTION_INTERACTION_STARTED | no payload | not implemented |
MAJOR_FACTION_RENOWN_LEVEL_CHANGED | majorFactionID: number, newRenownLevel: number, oldRenownLevel: number | implemented |
MAJOR_FACTION_UNLOCKED | majorFactionID: number | not 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, weekNumberMajorFactionRenownInfo· renownLevel, renownReputationEarned, renownLevelThresholdMajorFactionRenownLevelInfo· factionID, level, locked, isMilestone, isCapstoneMajorFactionRenownRewardInfo· 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.