World of Warcraft Forever API · C_RaidLocks.md, for your AI
C_RaidLocks
4 functions, 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_RaidLocks.GetRedirectedDifficultyID
redirectedDifficultyID = C_RaidLocks.GetRedirectedDifficultyID(mapID, difficultyID)
Arguments
mapID | number | |
|---|---|---|
difficultyID | number |
Returns
redirectedDifficultyID | number |
|---|
C_RaidLocks.IsEncounterComplete
encounterIsComplete = C_RaidLocks.IsEncounterComplete(mapID, encounterID, [difficultyID])
Arguments
mapID | number | |
|---|---|---|
encounterID | number | |
difficultyID | number may be nil |
Returns
encounterIsComplete | bool |
|---|
C_RaidLocks.IsRaidLockExtendFeatureEnabled
raidLockExtendFeatureEnabled = C_RaidLocks.IsRaidLockExtendFeatureEnabled()
Returns
raidLockExtendFeatureEnabled | bool |
|---|
C_RaidLocks.IsRaidLockExtendFeatureSupported
raidLockExtendFeatureSupported = C_RaidLocks.IsRaidLockExtendFeatureSupported()
Returns
raidLockExtendFeatureSupported | bool |
|---|