v0.13.8

C_ChallengeMode

namespaceavailable in: camelot

Status in wowlua

29 functions: 1 implemented, 1 recorded, 27 guessed. 14 events, 0 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
CanUseKeystoneInCurrentMapWhether the keystone can be used in the current dungeon. · by wowlua
(itemLocation: ItemLocationMixin): boolean
guessed
ClearKeystoneRemoves the keystone from the font of power's slot in the keystone frame. · by wowlua
()
guessed
CloseKeystoneFrameCloses the keystone frame. · by wowlua
()
guessed
GetActiveChallengeMapIDReturns the challenge mode map ID of the Mythic+ dungeon in progress, or nil. · by wowlua
(): number?
guessed
GetActiveKeystoneInfoReturns the level, affix IDs and whether the keystone was charged of the Mythic+ dungeon in progress. · by wowlua
(): (number, number[], boolean)
guessed
GetAffixInfoReturns the name, description and icon of a Mythic+ affix. · by wowlua
(affixID: number): (string?, string?, number?)
guessed
GetChallengeCompletionInfoReturns information about the last completed Mythic+ run. · by wowlua
(): ChallengeCompletionInfo
guessed
GetDeathCountReturns how many times the group died in the Mythic+ dungeon in progress, and the time those deaths cost. · by wowlua
(): (number?, number?)
guessed
GetDungeonScoreRarityColorReturns a color value from the passed in overall season M+ rating.
(dungeonScore: number): ColorMixin
guessed
GetGuildLeadersReturns the guild's best Mythic+ runs. · by wowlua
(): ChallengeModeGuildTopAttempt[]?
guessed
GetKeystoneLevelRarityColorReturns a color value from the passed in keystone level.
(level: number): ColorMixin
guessed
GetLeaverPenaltyWarningTimeLeftReturns 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
GetMapScoreInfoGets the player's best score information for the current weekly affix, for all maps active in the current season
(): MythicPlusRatingLinkInfo[]?
guessed
GetMapTableReturns the challenge mode map IDs of the current Mythic+ dungeons. · by wowlua
(): number[]
guessed
GetMapUIInfoReturns the name, ID, time limit, textures and background of a challenge mode dungeon. · by wowlua
(mapChallengeModeID: number): (string?, number?, number?, number?, number?, number?)
guessed
GetOverallDungeonScoreGets the overall season mythic+ rating for the player.
(): number
guessed
GetPowerLevelDamageHealthModReturns the damage and health increase of enemies at a keystone level. · by wowlua
(powerLevel: number): (number?, number?)
guessed
GetSlottedKeystoneInfoReturns the map ID, affix IDs and level of the keystone in the font of power. · by wowlua
(): (number?, number[]?, number?)
guessed
GetSpecificDungeonOverallScoreRarityColorReturns a color value from the passed in mythic+ rating from the combined affix scores for a specific dungeon
(specificDungeonOverallScore: number): ColorMixin
guessed
GetSpecificDungeonScoreRarityColorReturns a color value from the passed in mythic+ rating for a specific dungeon.
(specificDungeonScore: number): ColorMixin
guessed
GetStartTimeReturns when the Mythic+ dungeon in progress started. · by wowlua
(): number
guessed
HasSlottedKeystoneWhether a keystone is in the font of power. · by wowlua
(): boolean
guessed
IsChallengeModeActiveWhether a Mythic+ dungeon is in progress. · by wowlua
(): boolean
implemented
IsChallengeModeResettableWhether the Mythic+ dungeon in progress can be reset. · by wowlua
(): boolean
guessed
RemoveKeystoneRemoves the keystone from the font of power and returns whether it was removed. · by wowlua
(): boolean
guessed
RequestLeadersAsks the server for the best runs in a challenge mode dungeon. · by wowlua
(mapChallengeModeID: number)
guessed
ResetResets the Mythic+ dungeon in progress. · by wowlua
()
guessed
SlotKeystonePuts the keystone held on the cursor into the font of power. · by wowlua
()
guessed
StartChallengeModeStarts 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

eventpayloadfired by the emulator
CHALLENGE_MODE_COMPLETEDno payloadnot implemented
CHALLENGE_MODE_COMPLETED_REWARDSmapID: number, medal: number, timeMS: number, money: number, rewards: ChallengeModeReward[]not implemented
CHALLENGE_MODE_DEATH_COUNT_UPDATEDno payloadnot implemented
CHALLENGE_MODE_KEYSTONE_RECEPTABLE_OPENno payloadnot implemented
CHALLENGE_MODE_KEYSTONE_SLOTTEDkeystoneID: numbernot implemented
CHALLENGE_MODE_LEADERBOARD_RESULTmapID: number, challengeModeID: number, page: number, results: MythicPlusLeaderboardResult[]not implemented
CHALLENGE_MODE_LEADERS_UPDATEno payloadnot implemented
CHALLENGE_MODE_LEAVER_TIMER_ENDEDno payloadnot implemented
CHALLENGE_MODE_LEAVER_TIMER_STARTEDno payloadnot implemented
CHALLENGE_MODE_MAPS_UPDATEno payloadnot implemented
CHALLENGE_MODE_MEMBER_INFO_UPDATEDno payloadnot implemented
CHALLENGE_MODE_NEW_RECORDmapID: number, timeMS: number, medal: numbernot implemented
CHALLENGE_MODE_RESETmapID: numbernot implemented
CHALLENGE_MODE_STARTmapID: numbernot 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, members
  • ChallengeModeBestTime · mapChallengeModeID, durationMs, members
  • ChallengeModeBestTimeMember · name, classFileName, className, specializationID
  • ChallengeModeCompletionMemberInfo · memberGUID, name
  • ChallengeModeGuildAttemptMember · name, classFileName
  • ChallengeModeGuildTopAttempt · name, classFileName, keystoneLevel, mapChallengeModeID, isYou, members
  • ChallengeModeReward · 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.