World of Warcraft Forever API · C_PlayerMentorship.md, for your AI
C_PlayerMentorship
5 functions, 2 events, 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_PlayerMentorship.GetMentorLevelRequirement
level = C_PlayerMentorship.GetMentorLevelRequirement()
Returns
level | number may be nil |
|---|
C_PlayerMentorship.GetMentorRequirements
achievementIDs, optionalAchievementIDs, optionalCompleteAtLeastCount = C_PlayerMentorship.GetMentorRequirements()
Returns
achievementIDs | number[] | |
|---|---|---|
optionalAchievementIDs | number[] | |
optionalCompleteAtLeastCount | number |
C_PlayerMentorship.GetMentorshipStatus
status = C_PlayerMentorship.GetMentorshipStatus(playerLocation)
Arguments
playerLocation | PlayerLocation |
|---|
Returns
status | PlayerMentorshipStatus |
|---|
C_PlayerMentorship.IsActivePlayerConsideredNewcomer
isConsideredNewcomer = C_PlayerMentorship.IsActivePlayerConsideredNewcomer()
Returns
isConsideredNewcomer | bool |
|---|
C_PlayerMentorship.IsMentorRestricted
isRestricted = C_PlayerMentorship.IsMentorRestricted()
Returns
isRestricted | bool |
|---|
Events
MENTORSHIP_STATUS_CHANGED
No payload.
NEWCOMER_GRADUATION
No payload.