WowAddons

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

C_RecentAllies.CanSetRecentAllyNote

canSetNote = C_RecentAllies.CanSetRecentAllyNote(characterGUID)

Arguments

characterGUIDWOWGUID

Returns

canSetNotebool

C_RecentAllies.GetRecentAllies

recentAlliesData = C_RecentAllies.GetRecentAllies()

Returns

recentAlliesDataRecentAllyData[]

C_RecentAllies.GetRecentAllyByFullName

recentAllyData = C_RecentAllies.GetRecentAllyByFullName(fullCharacterName)

Arguments

fullCharacterNamecstring

Returns

recentAllyDataRecentAllyData may be nil

C_RecentAllies.GetRecentAllyByGUID

recentAllyData = C_RecentAllies.GetRecentAllyByGUID(characterGUID)

Arguments

characterGUIDWOWGUID

Returns

recentAllyDataRecentAllyData may be nil

C_RecentAllies.IsInteractionCategoryFilterSupportedForCurrentGameType

isInteractionCategoryFilterSupportedForCurrentGameType = C_RecentAllies.IsInteractionCategoryFilterSupportedForCurrentGameType(interactionCategoryFilter)

Arguments

interactionCategoryFilterRecentAlliesInteractionCategoryFilter

Returns

isInteractionCategoryFilterSupportedForCurrentGameTypebool

C_RecentAllies.IsRecentAllyByFullName

isRecentAlly = C_RecentAllies.IsRecentAllyByFullName(fullCharacterName)

Arguments

fullCharacterNamecstring

Returns

isRecentAllybool

C_RecentAllies.IsRecentAllyByGUID

isRecentAlly = C_RecentAllies.IsRecentAllyByGUID(characterGUID)

Arguments

characterGUIDWOWGUID

Returns

isRecentAllybool

C_RecentAllies.IsRecentAllyDataReady

isReady = C_RecentAllies.IsRecentAllyDataReady()

Returns

isReadybool

C_RecentAllies.IsRecentAllyPinned

isPinned = C_RecentAllies.IsRecentAllyPinned(characterGUID)

Arguments

characterGUIDWOWGUID

Returns

isPinnedbool

C_RecentAllies.IsSystemEnabled

isRecentAllySystemEnabled = C_RecentAllies.IsSystemEnabled()

Returns

isRecentAllySystemEnabledbool

C_RecentAllies.IsSystemSupported

isRecentAllySystemSupported = C_RecentAllies.IsSystemSupported()

Returns

isRecentAllySystemSupportedbool

C_RecentAllies.SearchRecentAllies

recentAlliesData = C_RecentAllies.SearchRecentAllies(searchInfo)

Arguments

searchInfoRecentAlliesSearchInfo

Returns

recentAlliesDataRecentAllyData[]

C_RecentAllies.SetRecentAllyNote

C_RecentAllies.SetRecentAllyNote(characterGUID, note)

Arguments

characterGUIDWOWGUID
notecstring

C_RecentAllies.SetRecentAllyPinned

C_RecentAllies.SetRecentAllyPinned(characterGUID, isPinned)

Arguments

characterGUIDWOWGUID
isPinnedbool

C_RecentAllies.TryRequestRecentAlliesData

C_RecentAllies.TryRequestRecentAlliesData()

Events

LET_RECENT_ALLIES_SEE_LOCATION_SETTING_UPDATED

No payload.

RECENT_ALLIES_CACHE_UPDATE

No payload.

RECENT_ALLIES_DATA_READY

No payload.

RECENT_ALLIES_SYSTEM_STATUS_UPDATED

No payload.

RECENT_ALLY_DATA_UPDATED

characterGUIDWOWGUID

Tables

RecentAlliesSearchInfo structure

searchTextstring
isOnlinebool
isDNDbool
isAFKbool
isOfflinebool
interactionCategoryFiltersRecentAlliesInteractionCategoryFilter[]

RecentAllyCharacterData structure

guidWOWGUID
namestring
fullNamestring
realmNamestring
levelnumber
classIDnumber
raceIDnumber
sexUnitSex

RecentAllyData structure

stateDataRecentAllyStateData
characterDataRecentAllyCharacterData
interactionDataRecentAllyInteractionData

RecentAllyInteraction structure

typeRolodexType
descriptioncstring
timestamptime_t
contextDataRecentAllyInteractionContextData

RecentAllyInteractionContextData structure

itemIDnumber may be nil
locationNamecstring may be nil
activityDifficultyIDnumber may be nil
activityDifficultyLevelnumber may be nil

RecentAllyInteractionData structure

interactionsRecentAllyInteraction[]
notestring may be nil

RecentAllyStateData structure

isOnlinebool
isDNDbool
isAFKbool
isConvertedLegacyFriendbool
pinExpirationDatetime_t may be nil
friendRequestSentThisSessionbool
currentLocationstring may be nil

Necesitas WowAddons

Gratis, para Windows, macOS y Linux: pone el addon en tu juego en un clic y lo mantiene al día. Ábrelo una vez y vuelve a pulsar Instalar.

WowAddons funciona en tu ordenador: abre wowaddons.gg allí.

Descargar para Windows