12.07.2015 Views

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

658 Part IV ■ <strong>Reference</strong>Arguments:list—Type <strong>of</strong> auction listing (string)bidder—Auctions the player has bid onlist—Auctions the player can browse <strong>and</strong> bid on or buy outowner—Auctions the player placedindex—Index <strong>of</strong> a sorting priority (number)Returns:criterion—Non-localized string naming the criterion (or column in thedefault UI) by which listings are sorted (string)reverse—1 if listings are sorted in reverse order; otherwise nil.‘‘Reverse’’ here is relative to the default order, not to absolute value:e.g. the default order <strong>for</strong> quality is descending (Epic, Rare, Uncommon,etc), but the default order <strong>for</strong> level is ascending (1–80) (1nil)GetAutoCompleteResultsReturns a list <strong>of</strong> character names which complete a given partial name prefix.... = GetAutoCompleteResults(“inputString“, includeBitfield, iexcludeBitfield, maxResults [, cursorPosition])Arguments:inputString—Partial name <strong>for</strong> which to return completions (string)includeBitfield—One or more <strong>of</strong> the following flags (combined viabit.bor()), indicating which characters should be included in the result list:(number, bitfield)0x00000000—AUTOCOMPLETE_FLAG_NONE: Nocharacters0x00000001—AUTOCOMPLETE_FLAG_IN_GROUP: Characters in the player’sparty or raid0x00000002—AUTOCOMPLETE_FLAG_IN_GUILD: Characters in the player’sguild0x00000004—AUTOCOMPLETE_FLAG_FRIEND: Characters from the player’sfriends list0x00000010—AUTOCOMPLETE_FLAG_INTERACTED_WITH:Characterswithwhom the player has recently interacted0x00000020—AUTOCOMPLETE_FLAG_ONLINE: Currently online friends <strong>and</strong>guildmates0xffffffff—AUTOCOMPLETE_FLAG_ALL: All charactersexcludeBitfield—One or more <strong>of</strong> the following flags (combined viabit.bor()), indicating which characters should be excluded from the result list:(number, bitfield)0x00000000—AUTOCOMPLETE_FLAG_NONE: Nocharacters0x00000001—AUTOCOMPLETE_FLAG_IN_GROUP: Characters in the player’sparty or raid0x00000002—AUTOCOMPLETE_FLAG_IN_GUILD: Characters in the player’sguild

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!