C_Reputation
namespaceavailable in: camelotStatus in wowlua
27 functions: 7 implemented, 0 recorded, 20 guessed. 1 events, 1 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
AreLegacyReputationsShown | Whether legacy reputations are shown in the reputation list. · by wowlua(): boolean | guessed |
CollapseAllFactionHeaders | Collapses all headers in the reputation list. · by wowlua() | guessed |
CollapseFactionHeader | Collapses a header in the reputation list. · by wowlua(factionSortIndex: number) | guessed |
ExpandAllFactionHeaders | Expands all headers in the reputation list. · by wowlua() | guessed |
ExpandFactionHeader | Expands a header in the reputation list. · by wowlua(factionSortIndex: number) | guessed |
GetFactionDataByID | Returns the player's reputation data for the given faction, or nil when the faction is not in the player's reputation list. · by wowlua(factionID: number): FactionData? | guessed |
GetFactionDataByIndex | Returns the data of an entry in the reputation list. · by wowlua(factionSortIndex: number): FactionData? | implemented |
GetFactionParagonInfo | Returns Paragon info on a faction.(factionID: number): (number?, number?, number?, boolean?, boolean?, number?) | guessed |
GetGuildFactionData | Returns the reputation data of the player's guild. · by wowlua(): FactionData? | guessed |
GetGuildRepExpirationTime | Returns the time until the player's guild reputation expires. · by wowlua(): number? | guessed |
GetNumFactions | Returns the number of entries in the reputation list, headers included. · by wowlua(): number | implemented |
GetReputationSortType | Returns how the reputation list is sorted. · by wowlua(): ReputationSortType | guessed |
GetSelectedFaction | Returns the index of the selected entry in the reputation list. · by wowlua(): number | implemented |
GetWatchedFactionData | Returns the data of the faction watched on the reputation bar, or nil when none is watched. · by wowlua(): FactionData? | implemented |
IsAccountWideReputation | Whether the reputation with the given faction is shared across the account. · by wowlua(factionID: number): boolean | implemented |
IsFactionActive | Whether the faction is active, that is, not moved to the inactive group. · by wowlua(factionSortIndex: number): boolean | guessed |
IsFactionParagon | Returns true if a faction is a paragon reputation.(factionID: number): boolean | guessed |
IsFactionParagonForCurrentPlayer | Whether the given faction has paragon reputation for the player. · by wowlua(factionID: number): boolean | implemented |
IsMajorFaction | Whether the given faction is a major faction (renown). · by wowlua(factionID: number): boolean | implemented |
RequestFactionParagonPreloadRewardData | Queries the server to pre-load Paragon reward data.(factionID: number) | guessed |
SetFactionActive | Moves a faction into or out of the inactive group. · by wowlua(factionSortIndex: number, setActive: boolean) | guessed |
SetLegacyReputationsShown | Sets whether legacy reputations are shown in the reputation list. · by wowlua(showLegacyReputations: boolean) | guessed |
SetReputationSortType | Sets how the reputation list is sorted. · by wowlua(sortType: ReputationSortType) | guessed |
SetSelectedFaction | Selects an entry in the reputation list, which GetSelectedFaction then returns. · by wowlua(factionSortIndex: number) | guessed |
SetWatchedFactionByID | Sets the faction watched on the reputation bar. · by wowlua(factionID: number) | guessed |
SetWatchedFactionByIndex | Sets the faction watched on the reputation bar by its index in the reputation list. · by wowlua(factionSortIndex: number) | guessed |
ToggleFactionAtWar | Toggles whether the player is at war with a faction, where that can be changed. · by wowlua(factionSortIndex: number) | 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 |
|---|---|---|
FACTION_STANDING_CHANGED | factionID: number, updatedStanding: number | implemented |
Structures
FactionData· factionID, name, description, reaction, currentReactionThreshold, nextReactionThreshold, currentStanding, atWarWith, canToggleAtWar, isChild, isHeader, isHeaderWithRep, isCollapsed, isWatched, hasBonusRepGain, canSetInactive, isAccountWide
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ReputationInfo system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.