v0.13.7

C_AutoComplete.GetAutoCompleteResults

functionguessedavailable in: camelot

Returns the names that complete the typed text. · description by wowlua

signaturewowlua
function C_AutoComplete.GetAutoCompleteResults(    name: string,    numResults: number,    cursorPosition: number,    allowFullMatch: boolean,    includeFlags: number,    excludeFlags: number): AutoCompleteResult[]

Parameters

nametypedescription
namestringThe text typed so far.
numResultsnumberThe most results to return.
cursorPositionnumberThe cursor's position in the text.
allowFullMatchbooleanWhether a name equal to the text counts as a result.
includeFlagsnumberAUTOCOMPLETE_FLAG_* flags for the kinds of names to include.
excludeFlagsnumberAUTOCOMPLETE_FLAG_* flags for the kinds of names to leave out.

Returns

results · AutoCompleteResult[]

AutoCompleteResult
fieldtype
namestring
priorityAutoCompletePriority
bnetIDnumber

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (AutoComplete system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.