World of Warcraft Forever API · C_RecentAllies.md, for your AI
C_RecentAllies
15 functions, 5 events, 7 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
canSetNote = C_RecentAllies.CanSetRecentAllyNote(characterGUID)
Arguments
Returns
recentAlliesData = C_RecentAllies.GetRecentAllies()
Returns
recentAllyData = C_RecentAllies.GetRecentAllyByFullName(fullCharacterName)
Arguments
Returns
recentAllyData = C_RecentAllies.GetRecentAllyByGUID(characterGUID)
Arguments
Returns
isInteractionCategoryFilterSupportedForCurrentGameType = C_RecentAllies.IsInteractionCategoryFilterSupportedForCurrentGameType(interactionCategoryFilter)
Arguments
Returns
isInteractionCategoryFilterSupportedForCurrentGameType | bool | |
|---|
isRecentAlly = C_RecentAllies.IsRecentAllyByFullName(fullCharacterName)
Arguments
Returns
isRecentAlly = C_RecentAllies.IsRecentAllyByGUID(characterGUID)
Arguments
Returns
isReady = C_RecentAllies.IsRecentAllyDataReady()
Returns
isPinned = C_RecentAllies.IsRecentAllyPinned(characterGUID)
Arguments
Returns
isRecentAllySystemEnabled = C_RecentAllies.IsSystemEnabled()
Returns
isRecentAllySystemEnabled | bool | |
|---|
isRecentAllySystemSupported = C_RecentAllies.IsSystemSupported()
Returns
isRecentAllySystemSupported | bool | |
|---|
recentAlliesData = C_RecentAllies.SearchRecentAllies(searchInfo)
Arguments
Returns
C_RecentAllies.SetRecentAllyNote(characterGUID, note)
Arguments
characterGUID | WOWGUID | |
|---|
note | cstring | |
|---|
C_RecentAllies.SetRecentAllyPinned(characterGUID, isPinned)
Arguments
characterGUID | WOWGUID | |
|---|
isPinned | bool | |
|---|
C_RecentAllies.TryRequestRecentAlliesData()
Events
Tables
guid | WOWGUID | |
|---|
name | string | |
|---|
fullName | string | |
|---|
realmName | string | |
|---|
level | number | |
|---|
classID | number | |
|---|
raceID | number | |
|---|
sex | UnitSex | |
|---|
itemID | number may be nil | |
|---|
locationName | cstring may be nil | |
|---|
activityDifficultyID | number may be nil | |
|---|
activityDifficultyLevel | number may be nil | |
|---|
isOnline | bool | |
|---|
isDND | bool | |
|---|
isAFK | bool | |
|---|
isConvertedLegacyFriend | bool | |
|---|
pinExpirationDate | time_t may be nil | |
|---|
friendRequestSentThisSession | bool | |
|---|
currentLocation | string may be nil | |
|---|