C_ChallengeMode
namespaceavailable in: camelotStatus in wowlua
29 functions: 1 implemented, 1 recorded, 27 guessed. 14 events, 0 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
CanUseKeystoneInCurrentMap | Whether the keystone can be used in the current dungeon. · by wowlua(itemLocation: ItemLocationMixin): boolean | guessed |
ClearKeystone | Removes the keystone from the font of power's slot in the keystone frame. · by wowlua() | guessed |
CloseKeystoneFrame | Closes the keystone frame. · by wowlua() | guessed |
GetActiveChallengeMapID | Returns the challenge mode map ID of the Mythic+ dungeon in progress, or nil. · by wowlua(): number? | guessed |
GetActiveKeystoneInfo | Returns the level, affix IDs and whether the keystone was charged of the Mythic+ dungeon in progress. · by wowlua(): (number, number[], boolean) | guessed |
GetAffixInfo | Returns the name, description and icon of a Mythic+ affix. · by wowlua(affixID: number): (string?, string?, number?) | guessed |
GetChallengeCompletionInfo | Returns information about the last completed Mythic+ run. · by wowlua(): ChallengeCompletionInfo | guessed |
GetDeathCount | Returns how many times the group died in the Mythic+ dungeon in progress, and the time those deaths cost. · by wowlua(): (number?, number?) | guessed |
GetDungeonScoreRarityColor | Returns a color value from the passed in overall season M+ rating.(dungeonScore: number): ColorMixin | guessed |
GetGuildLeaders | Returns the guild's best Mythic+ runs. · by wowlua(): ChallengeModeGuildTopAttempt[]? | guessed |
GetKeystoneLevelRarityColor | Returns a color value from the passed in keystone level.(level: number): ColorMixin | guessed |
GetLeaverPenaltyWarningTimeLeft | Returns how much time is left before player is automatically flagged as a leaver (and removed from the group) for exiting a restricted challenge mode instance(): number | recorded |
GetMapScoreInfo | Gets the player's best score information for the current weekly affix, for all maps active in the current season(): MythicPlusRatingLinkInfo[]? | guessed |
GetMapTable | Returns the challenge mode map IDs of the current Mythic+ dungeons. · by wowlua(): number[] | guessed |
GetMapUIInfo | Returns the name, ID, time limit, textures and background of a challenge mode dungeon. · by wowlua(mapChallengeModeID: number): (string?, number?, number?, number?, number?, number?) | guessed |
GetOverallDungeonScore | Gets the overall season mythic+ rating for the player.(): number | guessed |
GetPowerLevelDamageHealthMod | Returns the damage and health increase of enemies at a keystone level. · by wowlua(powerLevel: number): (number?, number?) | guessed |
GetSlottedKeystoneInfo | Returns the map ID, affix IDs and level of the keystone in the font of power. · by wowlua(): (number?, number[]?, number?) | guessed |
GetSpecificDungeonOverallScoreRarityColor | Returns a color value from the passed in mythic+ rating from the combined affix scores for a specific dungeon(specificDungeonOverallScore: number): ColorMixin | guessed |
GetSpecificDungeonScoreRarityColor | Returns a color value from the passed in mythic+ rating for a specific dungeon.(specificDungeonScore: number): ColorMixin | guessed |
GetStartTime | Returns when the Mythic+ dungeon in progress started. · by wowlua(): number | guessed |
HasSlottedKeystone | Whether a keystone is in the font of power. · by wowlua(): boolean | guessed |
IsChallengeModeActive | Whether a Mythic+ dungeon is in progress. · by wowlua(): boolean | implemented |
IsChallengeModeResettable | Whether the Mythic+ dungeon in progress can be reset. · by wowlua(): boolean | guessed |
RemoveKeystone | Removes the keystone from the font of power and returns whether it was removed. · by wowlua(): boolean | guessed |
RequestLeaders | Asks the server for the best runs in a challenge mode dungeon. · by wowlua(mapChallengeModeID: number) | guessed |
Reset | Resets the Mythic+ dungeon in progress. · by wowlua() | guessed |
SlotKeystone | Puts the keystone held on the cursor into the font of power. · by wowlua() | guessed |
StartChallengeMode | Starts the Mythic+ dungeon with the keystone in the font of power and returns whether it started. · by wowlua(): 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 |
|---|---|---|
CHALLENGE_MODE_COMPLETED | no payload | not implemented |
CHALLENGE_MODE_COMPLETED_REWARDS | mapID: number, medal: number, timeMS: number, money: number, rewards: ChallengeModeReward[] | not implemented |
CHALLENGE_MODE_DEATH_COUNT_UPDATED | no payload | not implemented |
CHALLENGE_MODE_KEYSTONE_RECEPTABLE_OPEN | no payload | not implemented |
CHALLENGE_MODE_KEYSTONE_SLOTTED | keystoneID: number | not implemented |
CHALLENGE_MODE_LEADERBOARD_RESULT | mapID: number, challengeModeID: number, page: number, results: MythicPlusLeaderboardResult[] | not implemented |
CHALLENGE_MODE_LEADERS_UPDATE | no payload | not implemented |
CHALLENGE_MODE_LEAVER_TIMER_ENDED | no payload | not implemented |
CHALLENGE_MODE_LEAVER_TIMER_STARTED | no payload | not implemented |
CHALLENGE_MODE_MAPS_UPDATE | no payload | not implemented |
CHALLENGE_MODE_MEMBER_INFO_UPDATED | no payload | not implemented |
CHALLENGE_MODE_NEW_RECORD | mapID: number, timeMS: number, medal: number | not implemented |
CHALLENGE_MODE_RESET | mapID: number | not implemented |
CHALLENGE_MODE_START | mapID: number | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("CHALLENGE_MODE_COMPLETED").
Structures
ChallengeCompletionInfo· mapChallengeModeID, level, time, onTime, keystoneUpgradeLevels, practiceRun, oldOverallDungeonScore?, newOverallDungeonScore?, isMapRecord, isAffixRecord, isEligibleForScore, membersChallengeModeBestTime· mapChallengeModeID, durationMs, membersChallengeModeBestTimeMember· name, classFileName, className, specializationIDChallengeModeCompletionMemberInfo· memberGUID, nameChallengeModeGuildAttemptMember· name, classFileNameChallengeModeGuildTopAttempt· name, classFileName, keystoneLevel, mapChallengeModeID, isYou, membersChallengeModeReward· rewardID, displayInfoID, quantity, isCurrency
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ChallengeModeInfo 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.