World of Warcraft Forever API · C_MythicPlus.md, for your AI
C_MythicPlus
21 functions, 2 events, 6 tables, as Blizzard documents them for Forever 1.60.1 (70959).
Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.
Functions
C_MythicPlus.GetCurrentAffixes
affixIDs = C_MythicPlus.GetCurrentAffixes()
May return nothing.
Returns
affixIDs | MythicPlusKeystoneAffix[] |
|---|
C_MythicPlus.GetCurrentSeason
seasonID = C_MythicPlus.GetCurrentSeason()
Returns
seasonID | number |
|---|
C_MythicPlus.GetCurrentSeasonValues
displaySeasonID, milestoneSeasonID, rewardSeasonID = C_MythicPlus.GetCurrentSeasonValues()
Returns
displaySeasonID | number | |
|---|---|---|
milestoneSeasonID | number | |
rewardSeasonID | number |
C_MythicPlus.GetCurrentUIDisplaySeason
seasonID = C_MythicPlus.GetCurrentUIDisplaySeason()
Returns
seasonID | number may be nil |
|---|
C_MythicPlus.GetEndOfRunGearSequenceLevel
sequenceLevel = C_MythicPlus.GetEndOfRunGearSequenceLevel(keystoneLevel)
Arguments
keystoneLevel | number |
|---|
Returns
sequenceLevel | number may be nil |
|---|
C_MythicPlus.GetLastWeeklyBestInformation
challengeMapId, level = C_MythicPlus.GetLastWeeklyBestInformation()
May return nothing.
Returns
challengeMapId | number | |
|---|---|---|
level | number |
C_MythicPlus.GetOwnedKeystoneChallengeMapID
challengeMapID = C_MythicPlus.GetOwnedKeystoneChallengeMapID()
May return nothing.
Returns
challengeMapID | number |
|---|
C_MythicPlus.GetOwnedKeystoneLevel
keyStoneLevel = C_MythicPlus.GetOwnedKeystoneLevel()
May return nothing.
Returns
keyStoneLevel | number |
|---|
C_MythicPlus.GetOwnedKeystoneMapID
mapID = C_MythicPlus.GetOwnedKeystoneMapID()
May return nothing.
Returns
mapID | number |
|---|
C_MythicPlus.GetRewardLevelForDifficultyLevel
weeklyRewardLevel, endOfRunRewardLevel = C_MythicPlus.GetRewardLevelForDifficultyLevel(difficultyLevel)
Arguments
difficultyLevel | number |
|---|
Returns
weeklyRewardLevel | number | |
|---|---|---|
endOfRunRewardLevel | number |
C_MythicPlus.GetRewardLevelFromKeystoneLevel
rewardLevel = C_MythicPlus.GetRewardLevelFromKeystoneLevel(keystoneLevel)
Arguments
keystoneLevel | number |
|---|
Returns
rewardLevel | number may be nil |
|---|
C_MythicPlus.GetRunHistory
runs = C_MythicPlus.GetRunHistory([includePreviousWeeks], [includeIncompleteRuns], [currentSeasonOnly])
Arguments
includePreviousWeeks | bool default false | |
|---|---|---|
includeIncompleteRuns | bool default false | |
currentSeasonOnly | bool default false |
Returns
runs | MythicPlusRunInfo[] |
|---|
C_MythicPlus.GetSeasonBestAffixScoreInfoForMap
affixScores, bestOverAllScore = C_MythicPlus.GetSeasonBestAffixScoreInfoForMap(mapChallengeModeID)
Gets the active players best runs by the seasonal tracked affixes as well as their overall score for the current season.
May return nothing.
Arguments
mapChallengeModeID | number |
|---|
Returns
affixScores | MythicPlusAffixScoreInfo[] | |
|---|---|---|
bestOverAllScore | number |
C_MythicPlus.GetSeasonBestForMap
intimeInfo, overtimeInfo = C_MythicPlus.GetSeasonBestForMap(mapChallengeModeID)
Arguments
mapChallengeModeID | number |
|---|
Returns
intimeInfo | MapSeasonBestInfo may be nil | |
|---|---|---|
overtimeInfo | MapSeasonBestInfo may be nil |
C_MythicPlus.GetSeasonBestMythicRatingFromThisExpansion
bestSeasonScore, bestSeason = C_MythicPlus.GetSeasonBestMythicRatingFromThisExpansion()
May return nothing.
Returns
bestSeasonScore | number | |
|---|---|---|
bestSeason | number |
C_MythicPlus.GetWeeklyBestForMap
durationSec, level, completionDate, affixIDs, members, dungeonScore = C_MythicPlus.GetWeeklyBestForMap(mapChallengeModeID)
May return nothing.
Arguments
mapChallengeModeID | number |
|---|
Returns
durationSec | number | |
|---|---|---|
level | number | |
completionDate | CalendarTime | |
affixIDs | number[] | |
members | MythicPlusMember[] | |
dungeonScore | number |
C_MythicPlus.GetWeeklyChestRewardLevel
currentWeekBestLevel, weeklyRewardLevel, nextDifficultyWeeklyRewardLevel, nextBestLevel = C_MythicPlus.GetWeeklyChestRewardLevel()
Returns
currentWeekBestLevel | number | |
|---|---|---|
weeklyRewardLevel | number | |
nextDifficultyWeeklyRewardLevel | number | |
nextBestLevel | number |
C_MythicPlus.IsMythicPlusActive
isMythicPlusActive = C_MythicPlus.IsMythicPlusActive()
Returns
isMythicPlusActive | bool |
|---|
C_MythicPlus.RequestCurrentAffixes
C_MythicPlus.RequestCurrentAffixes()
C_MythicPlus.RequestMapInfo
C_MythicPlus.RequestMapInfo()
C_MythicPlus.RequestRewards
C_MythicPlus.RequestRewards()
Events
MYTHIC_PLUS_CURRENT_AFFIX_UPDATE
No payload.
MYTHIC_PLUS_NEW_WEEKLY_RECORD
mapChallengeModeID | number | |
|---|---|---|
completionMilliseconds | number | |
level | number |
Tables
MapSeasonBestInfo structure
durationSec | number | |
|---|---|---|
level | number | |
completionDate | CalendarTime | |
affixIDs | number[] | |
members | MythicPlusMember[] | |
dungeonScore | number |
MythicPlusDate structure
year | number | |
|---|---|---|
month | number | |
day | number | |
hour | number | |
minute | number | |
weekday | luaIndex |
MythicPlusKeystoneAffix structure
id | number | |
|---|---|---|
seasonID | number |
MythicPlusMember structure
name | string may be nil | |
|---|---|---|
specID | number | |
classID | number |
MythicPlusRunInfo structure
mapChallengeModeID | number | |
|---|---|---|
level | number | |
thisWeek | bool | |
completed | bool | |
runScore | number | |
durationSec | number | |
completionDate | CalendarTime | |
season | number |
SeasonTimeInfo structure
bestTime | number | |
|---|---|---|
lastTime | number | |
medal | number |