C_AutoComplete. GetAutoCompleteResults
functionguessedavailable in: camelot
Returns the names that complete the typed text. · description by wowlua
function C_AutoComplete.GetAutoCompleteResults( name: string, numResults: number, cursorPosition: number, allowFullMatch: boolean, includeFlags: number, excludeFlags: number): AutoCompleteResult[]Parameters
| name | type | description |
|---|---|---|
name | string | The text typed so far. |
numResults | number | The most results to return. |
cursorPosition | number | The cursor's position in the text. |
allowFullMatch | boolean | Whether a name equal to the text counts as a result. |
includeFlags | number | AUTOCOMPLETE_FLAG_* flags for the kinds of names to include. |
excludeFlags | number | AUTOCOMPLETE_FLAG_* flags for the kinds of names to leave out. |
Returns
results · AutoCompleteResult[]
| field | type |
|---|---|
name | string |
priority | AutoCompletePriority |
bnetID | number |
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.