World of Warcraft Forever API · C_AutoComplete.md, for your AI
C_AutoComplete
4 functions, 1 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_AutoComplete.GetAutoCompletePresenceID
presenceID = C_AutoComplete.GetAutoCompletePresenceID(name)
Arguments
name | cstring |
|---|
Returns
presenceID | number may be nil |
|---|
C_AutoComplete.GetAutoCompleteRealms
realms = C_AutoComplete.GetAutoCompleteRealms()
Returns
realms | string[] |
|---|
C_AutoComplete.GetAutoCompleteResults
results = C_AutoComplete.GetAutoCompleteResults(name, numResults, cursorPosition, allowFullMatch, includeFlags, excludeFlags)
Arguments
name | cstring | |
|---|---|---|
numResults | number | |
cursorPosition | number | |
allowFullMatch | bool | |
includeFlags | number | |
excludeFlags | number |
Returns
results | AutoCompleteResult[] |
|---|
C_AutoComplete.IsRecognizedName
isRecognizedName = C_AutoComplete.IsRecognizedName(name, includeFlags, excludeFlags)
Arguments
name | cstring | |
|---|---|---|
includeFlags | number | |
excludeFlags | number |
Returns
isRecognizedName | bool |
|---|
Tables
AutoCompleteResult structure
name | string | |
|---|---|---|
priority | AutoCompletePriority | |
bnetID | number |