Chapter 27
API Reference
939
SetTradeSkillItemNameFilter
Filtersthe trade skill listing by name of recipe, item produced, or reagents.
SetTradeSkillItemNameFilter(“text“)
Uses asubstring (not exact-match) search: e.g. for aScribe, the searchstring
‘‘doc’’ might filter the list to show only Certificate of Ownershipbecause it
matchesthe word ‘‘documentation’’ inthat item’stooltip; asearch for ‘‘stam’’
will match allitems providing aStaminabonus.
Arguments:
text—Texttosearchforinrecipenames,produceditemnamesordescriptions,
or reagents (string)
SetTradeSkillSubClassFilter
Filtersthe trade skill listing by subclassof items produced.
SetTradeSkillSubClassFilter(index[, enable[,exclusive]])
Arguments:
index—Indexofanitemsubclass(inthelistreturnedbyGetTradeSkill
SubClasses()),or 0fornofilter(number)
enable(optional)— 1toshowrecipesmatchingsubclass indexinthefiltered
list; 0 to hide them (number)
exclusive(optional)— 1todisableothersubclassfilterswhenenablingthis
one; otherwisenil (1nil)
SetTrainerServiceTypeFilter
Filtersthe trainer service listing by service status.
SetTrainerServiceTypeFilter(“type“[,enable[,exclusive]])
Arguments:
type—Aservicestatus(string)
available—Servicestheplayercanuse
unavailable—Servicestheplayercannotcurrentlyuse
used—Servicestheplayerhasalreadyused
enable(optional)— 1toshowservicesmatching typeinthefilteredlist;0to
hide them (number)
exclusive(optional)— 1todisableothertypefilterswhenenablingthisone;
otherwise nil (1nil)
Example:
--Turn on the “available“filter
SetTrainerServiceTypeFilter(“available“,1)
--Turn on the “used“filter,andturnoffall others
SetTrainerServiceTypeFilter(“used“, 1,1)
SetTrainerSkillLineFilter
Filtersthe trainer service listing by skill line.
SetTrainerSkillLineFilter(“type“[,enable [, exclusive]])
Pdf change page order - re-order PDF pages in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Support Customizing Page Order of PDF Document in C# Project
rearrange pdf pages in reader; how to reverse pages in pdf
Pdf change page order - VB.NET PDF Page Move Library: re-order PDF pages in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
Sort PDF Document Pages Using VB.NET Demo Code
reorder pages in pdf document; how to move pages in pdf reader
940
Part IV
Reference
The default UIdoesnot provide control for skill line filters, but they can
nonetheless be used to alter the contents of the trainer service listing.
Arguments:
type—Indexofaskilllinefilter(inthelistreturnedbyGetTrainerSkill
Lines()) (string)
enable(optional)— 1toshowservicesmatchingthegivenskilllineinthefil-
tered list; 0 to hide them (number)
exclusive(optional)— 1todisableotherskilllinefilterswhenenablingthis
one; otherwisenil
(1nil)
SetUIVisibility
Enables or disables display of UI elements in the 3-D world.
SetUIVisibility(visible)
Applies only to 2-DUI elements displayed in the 3-D world: nameplatesand
raid target icons (skull, circle, square, etc). Doesnot directly controlnameplates
andtarget icons; only affectswhether they are displayed (see the
nameplateShowEnemies/nameplateShowFriendsCVarsand
SetRaidTargetfunctionsfordirectcontrol).
Doesnot apply to 3-D UI elements such as the selectioncircle, area-effect
targeting indicator, vehicle weapon aim indicator, etc.
Arguments:
visibleTruetoenabledisplayofUIelementsinthe3-Dworld;falsetodis-
able (boolean)
SetView
Movesthe camera to asaved camerasetting.
SetView(index)
There are five ‘‘slots’’for saved camera settings, indexed1-5. These viewscan
be set and accesseddirectly usingSaveView() andSetView(),and cycled
throughusingNextView() andPrevView().
Arguments:
index—Indexofasavedcamerasetting(between1and5)(number)
SetWatchedFactionIndex
Makes afaction the ‘‘watched’’ faction(displayed onthe XP bar in the default
UI).
SetWatchedFactionIndex(index)
Arguments:
index—Indexofanentryinthefactionlist;between1andGetNumFactions()
(number)
SetWhoToUI
Changesthe delivery method for resultsfromSendWho() queries.
SetWhoToUI(state)
VB.NET Word: Change Word Page Order & Sort Word Document Pages
Note: if you are trying to change the order controls, please read this Word reading page which has powerful & profession imaging controls, PDF document, image
reorder pages in pdf file; how to reorder pages in pdf preview
C# Word - Process Word Document in C#
various Word document processing implementations using C# demo codes, such as add or delete Word document page, change Word document pages order, merge or
how to rearrange pages in a pdf document; switch page order pdf
Chapter 27
API Reference
941
In the default UI, resultsdelivered inCHAT_MSG_SYSTEM are printed inthe
main chat window; results delivered in aWHO_LIST_UPDATE event cause the
FriendsFrame to be shown, displaying the resultsin its ‘‘Who’’ tab.
Arguments:
state—Numberidentifyingadeliverymethod(number)
0—SendresultsofthreeentriesorfewerinCHAT_MSG_SYSTEMevents
and results of greater thanthree entriesin aWHO_LIST_UPDATE event
1—SendallresultsinaWHO_LIST_UPDATEevent
SetupFullscreenScale
Sizesa frame to take up the entire screenregardless of screen resolution.
SetupFullscreenScale(frame)
Arguments:
frame—Frametoresizetofullscreen(table)
ShowBattlefieldList
Requeststo change instances for abattleground to whichthe player is already
queued.
ShowBattlefieldList(index)
CausestheBATTLEFIELDS_SHOW event to fire, allowing the player to review
the battleground’s list of available instancesand queue for adifferent one if
desired.
Arguments:
index—Indexofabattleground/arenaqueuetheplayerhasjoined(between1
andMAX_BATTLEFIELD_QUEUES) (number)
ShowBuybackSellCursor
Changes the cursor to prepare for repurchasing an item recently sold to a
vendor.
ShowBuybackSellCursor(index)
Only changesthe cursor image andmode if the givenindex containsanitem.
Arguments:
index—Indexofaniteminthebuybacklisting(between1and
GetNumBuybackItems())(number)
ShowCloak
Enables or disablesdisplay of the player’scloak.
ShowCloak(show)
Only affectsthe player’sappearance; does not change the other effectsof
having the cloak equipped. Determines not only the appearance of the player
character onthe local client, but the way other players see the character aswell.
Arguments:
show1todisplaytheplayer’scloak; niltohideit(1nil)
C# PDF File & Page Process Library SDK for C#.net, ASP.NET, MVC
Convert Jpeg to PDF; Merge PDF Files; Split PDF Document; Remove Password from PDF; Change PDF Permission Settings. C# File: Split PDF; C# Page: Insert PDF pages
pdf reverse page order online; how to move pages around in a pdf document
C# PowerPoint - Sort PowerPoint Pages Order in C#.NET
control, developers can swap or adjust the order of all or several PowerPoint document pages, or just change the position of certain one PowerPoint page in an
moving pages in pdf; rearrange pages in pdf online
942
Part IV
Reference
ShowContainerSellCursor
Changesthe cursor to prepare for selling anitem in the player’sbags to a
vendor.
ShowContainerSellCursor(container,slot)
Only changesthe cursor image and mode if the givencontainer andslot
containanitem.
While the cursor is in‘‘sell’’ mode,UseContainerItem() sells the item to the
vendor instead of using it.
Arguments:
container—Indexofoneoftheplayer’sbagsorothercontainers(number,con-
tainerID)
slot—Indexofanitemslotwithinthecontainer(number,containerSlotID)
ShowFriends
Requestsfriends/ignore list information from the server.
Informationisnot returned immediately; theFRIENDLIST_UPDATE event fires
whendata becomesavailable for use by Friends/Ignore APIfunctions.
ShowHelm
Enables or disables display of the player’s headgear.
ShowHelm(show)
Only affects the player’sappearance; does not change the other effects of
having the headgear equipped. Determines not only the appearance of the
player character on the local client, but the way other playerssee the character
as well.
Arguments:
show1todisplaytheplayer’sheadgear; niltohideit(1nil)
ShowInventorySellCursor
Changesthe cursor to prepare for selling anequipped item to a vendor.
ShowInventorySellCursor(slot)
Only changesthe cursor image and mode if the givenslot contains an item.
(UnlikeShowContainerSellCursor(),does not change the behavior of other
functionsto enable selling of items. Unused in the default UI.)
Arguments:
slot—Aninventoryslotnumber,ascanbeobtainedfromGetInventory
SlotInfo(number,inventoryID)
ShowMerchantSellCursor
Changesthe cursor to prepare for buying anitem from avendor.
ShowMerchantSellCursor(index)
Only changesthe cursor image and mode if the givenindex containsan item.
Arguments:
index—Indexofaniteminthevendor’slisting(between1and GetMerchant
NumItems())(number)
C# Word - Sort Word Pages Order in C#.NET
library control, developers can swap or adjust the order of all or several Word document pages, or just change the position of certain one Word page in an
pdf reorder pages online; reorder pages in pdf preview
VB.NET PDF File & Page Process Library SDK for vb.net, ASP.NET
VB.NET PDF - How to Modify PDF Document Page in VB.NET. VB.NET Guide for Processing PDF Document Page and Sorting PDF Pages Order.
how to rearrange pdf pages online; how to rearrange pdf pages
Chapter 27
API Reference
943
ShowMiniWorldMapArrowFrame
Showsor hidesthe battlefieldminimap’splayer arrow.
ShowMiniWorldMapArrowFrame(show)
Arguments:
show—Ifthebattlefieldminimap’splayerarrowshouldbeshown(boolean)
ShowRepairCursor
Puts the cursor initem repair mode.
Unlike most other cursor functions, this functionschangesthe behavior aswell
asthe appearance of the mouse cursor: while repair mode isactive, calling
PickupContainerItem()orPickupInventoryItem()willattempttorepair
the item (and deduct the cost of such from the player’ssavings) instead of
putting it onthe cursor.
Only haseffect while the player is interacting with avendor whichcan
perform repairs; i.e. between theMERCHANT_SHOW andMERCHANT_CLOSED
events, and only ifCanMerchantRepair() returns1.
ShowingCloak
Returnswhether the player’scloak is displayed.
isShown=ShowingCloak()
Determines not only the appearance of the player character on the local client,
but the way other playerssee the character as well.
Returns:
isShown1iftheplayer’scloakisshown;otherwise nil(1nil)
ShowingHelm
Returnswhether the player’sheadgear isdisplayed.
isShown=ShowingHelm()
Determines not only the appearance of the player character on the local client,
but the way other playerssee the character as well.
Returns:
isShown1iftheplayer’sheadgearisshown;otherwise nil(1nil)
SignPetition
Signsthe currently offered petition.
Protected
SitStandOrDescendStart
Causes the player character to sit down if standing andvice versa(or begins
descent if swimming or flying).
Used by theSITORSTAND binding, which also controlsdescent when
swimming or flying.
SocketContainerItem
Opens anitem from the player’sbagsfor socketing.
SocketContainerItem(container,slot)
C# TIFF: How to Reorder, Rearrange & Sort TIFF Pages Using C# Code
C# users to reorder and rearrange multi-page Tiff file Tiff image management library, you can easily change and move pages or make a totally new order for all
reverse pdf page order online; how to move pages in pdf
VB.NET PDF Password Library: add, remove, edit PDF file password
On this page, we will illustrate how to protect PDF document via password by using Change PDF original password. VB.NET: Necessary DLLs for PDF Password Edit.
how to rearrange pages in pdf using reader; reorder pdf pages reader
944
Part IV
Reference
Arguments:
container—Indexofoneoftheplayer’sbagsorothercontainers(number,con-
tainerID)
slot—Indexofanitemslotwithinthecontainer(number,containerSlotID)
SocketInventoryItem
Opensanequipped item for socketing.
SocketInventoryItem(slot)
Arguments:
slot—Aninventoryslotnumber,ascanbeobtainedfromGetInventorySlot
Info(number,inventoryID)
SortArenaTeamRoster
Sortsthe selectedarena team’sroster.
SortArenaTeamRoster(“sortType“)
Affectsthe ordering of member informationreturned by
GetArenaTeamRosterInfo.Sortingbythesamecriterionrepeatedlyreverses
the sort order.
Arguments:
sortType—Criterionforsortingtheroster(string)
class—Sortby class
name—Sortby name
played—Sortbynumberofgamesplayedinthecurrentweek
rating—Sortbypersonalrating
seasonplayed—Sortbynumberofgamesplayedinthecurrentarenaseason
seasonwon—Sortbynumberofgameswoninthecurrentarenaseason
won—Sortbynumberofgameswoninthecurrentweek
SortAuctionApplySort
Applies aset of auction listing sort criteria set viaSortAuctionSetSort.
SortAuctionApplySort(“list“)
Sort criteriaare appliedserver-side, affecting not only the order of items within
one ‘‘page’’of listingsbut the order in whichitems are collected into pages.
Any currently displayed listingsare re-sortedserver-side: the
AUCTION_ITEM_LIST_UPDATE,AUCTION_BIDDER_LIST_UPDATE,or
AUCTION_OWNED_LIST_UPDATEeventfiresoncethere-sorteddataisavailable
to the client; listing informationcan then be retrieved using
GetAuctionItemInfo()orotherAuctionAPIs.
Arguments:
list—Typeofauctionlisting(string)
bidder—Auctionstheplayerhasbidon
list—Auctionstheplayercanbrowseandbidonorbuyout
owner—Auctions theplayerplaced
Chapter 27
API Reference
945
SortAuctionClearSort
Clears any current sorting rules for an auctionhouse listing.
SortAuctionClearSort(“list“)
Arguments:
list—Typeofauctionlisting(string)
bidder—Auctionstheplayerhasbidon
list—Auctionstheplayercanbrowseandbidonorbuyout
owner—Auctionstheplayerplaced
SortAuctionSetSort
Buildsa list of sort criteria for auction listings.
SortAuctionSetSort(“list“,“sort“, reversed)
Hasno effect untilSortAuctionApplySort(type)iscalled; thus, this
functioncan be called repeatedly to builda complex set of sort criteria. Sort
criteria are applied server-side, affecting not only the order of items within one
‘‘page’’of listings but the order inwhichitemsare collected into pages.
Criteriaare applied inthe order set by thisfunction; i.e. the last criterionset
becomesthe primary sort criterion(see example).
Arguments:
list—Typeofauctionlisting(string)
bidder—Auctionstheplayerhasbidon
list—Auctionstheplayercanbrowseandbidonorbuyout
owner—Auctionstheplayerplaced
sort—Criteriontoaddtothesort(string)
bid—Amountofthecurrentorminimumbidontheitem
buyout—Buyoutpriceoftheitem
duration—Timeremainingbeforetheauctionexpires
level—Requiredcharacterleveltouseorequiptheitem
minbidbuyout—Buyoutprice,orminimumbidifnobuyoutpriceis
available
name—Name of the item
quality—itemQualityoftheitem
quantity—Numberofstackeditemsintheauction
seller—Nameofthecharacterwhocreatedtheauction(orintheownerlist-
ing, the current high bidder)
status—Statusoftheauction(e.g.inthebidderlisting,whethertheplayer
has been outbid)
reversedTruetosortinreverseorder;otherwise false.‘‘Reverse’’
here is relative to the default order, not to absolute value: e.g. the
default order forquality is descending (Epic, Rare, Uncommon, etc),
but the default order forlevel is ascending (1-80) (boolean)
946
Part IV
Reference
Example:
-- clear anyexistingcriteria
SortAuctionClearSort(“list“)
-- then, apply some criteria of our own
SortAuctionSetSort(“list“, “name“)
SortAuctionSetSort(“list“, “level“,1)
SortAuctionSetSort(“list“, “quality“)
-- apply thecriteriatothe serverquery
SortAuctionApplySort(“list“)
-- results are nowsorted by quality, level andname:
-- higher qualityitemsare listedbefore lower (e.g. Epic,
--
Rare, Uncommon)
-- itemswith thesame quality are sorteddescendingbylevel
--
(e.g. 80, 75,30,1)
-- itemswith thesame quality and level aresorted alphabetically
--
byname
SortBattlefieldScoreData
Sortsthe battleground scoreboard.
SortBattlefieldScoreData(“sortType“)
Battleground-specificstatisticsinclude flagscaptured in Warsong Gulch,
towersassaulted in Alterac Valley, etc. For the name and icon associated with
eachstatistic, seeGetBattlefieldStatInfo().
Arguments:
sortType—Criterionforsortingthescoreboarddata(string)
class—Sortbycharacterclass
cp—Sorts byhonorpoints gained
damage—Sortsbydamagedone
deaths—Sortbynumberofdeaths
healing—Sorts byhealingdone
hk—Sorts bynumberofhonorkills
kills—Sortbynumberofkills
name—Sortbyparticipantname
stat1—Battlefield-specific statistic 1
stat2—Battlefield-specific statistic 2
stat3—Battlefield-specific statistic 3
stat4—Battlefield-specific statistic 4
stat5—Battlefield-specific statistic 5
stat6—Battlefield-specific statistic 6
stat7—Battlefield-specific statistic 7
team— Sortbyteamname
Chapter 27
API Reference
947
SortGuildRoster
Sortsthe guild roster.
SortGuildRoster(“type“)
Sorting repeatedly by the same criterion will reverse the sort order. Previous
sortsare reusedwhen anewcriterion is applied: to sort by two criteria, sort
first by the secondary criterionand then by the primary criterion.
Arguments:
type—Criterionbywhichtosorttheroster(string)
class—Sortbyclass name
level—Sortbycharacterlevel
name—Sortby name
note—Sortbyguildnote
online—Sorybylastonlinetime
rank—Sortbyguildrank
zone—Sortbycurrentzonename
SortLFG
Setsthe sort order for Looking for More results.
SortLFG(“sortType“)
Arguments:
sortType—CriterionforsortingtheLFMresultslist(string)
class—Sortbyplayerclass
level—Sortbyplayerlevel
name—Sortbyplayername
numPartyMembers—Sortbynumberofpartymembers
zone—Sortbycurrentzone
SortWho
Sortsthe Who system query resultslist.
SortWho(“sortType“)
Sorting by the same criteriontwice will reverse the sort order.
Arguments:
sortType—Criterionforsortingthelist(string)
class—Sortbyclass name
guild—Sortbyguildname
level—Sortbyplayerlevel
name—Sortbyplayername
race—Sortbyrace name
zone—Sortbycurrentzonename
Sound_ChatSystem_GetInputDriverNameByIndex
Returnsthe name of the givenchat system sound input driver.
Sound_ChatSystem_GetInputDriverNameByIndex(index)
948
Part IV
Reference
Arguments:
index—Thedesiredindex(number)
Sound_ChatSystem_GetNumInputDrivers
Returns the number of chat system sound input drivers.
Sound_ChatSystem_GetNumOutputDrivers
Returns the number of chat system sound output drivers.
Sound_ChatSystem_GetOutputDriverNameByIndex
Returns the name of the givenchat system sound output driver.
Sound_ChatSystem_GetOutputDriverNameByIndex(index)
Arguments:
index—Thedesiredindex(number)
Sound_GameSystem_GetInputDriverNameByIndex
Returns the name of the given game sound input driver.
Sound_GameSystem_GetInputDriverNameByIndex(index)
Arguments:
index—Thedesiredindex(number)
Sound_GameSystem_GetNumInputDrivers
Returns the number of game sound input drivers.
Sound_GameSystem_GetNumOutputDrivers
Returns the number of game sound output drivers.
Sound_GameSystem_GetOutputDriverNameByIndex
Returns the name of the given game sound output driver.
Sound_GameSystem_GetOutputDriverNameByIndex(index)
Arguments:
index—Thedesiredindex(number)
Sound_GameSystem_RestartSoundSystem
Restarts the game’ssound systems.
SpellCanTargetGlyph
Returns whether the spell currently awaiting a target requires aglyph slot to
be chosen.
canTarget= SpellCanTargetGlyph()
Only applieswhen the player hasattempted to cast aspell—inthis case, the
‘‘spell’’cast whenone usesa glyph item—but the spellrequiresa target before
it canbegincasting (i.e. the glowing hand cursor isshowing).
Returns:
canTarget1ifthespellcantargetglyphslots(1nil)
SpellCanTargetItem
Returns whether the spell currently awaiting a target requiresanitem to be
chosen.
canTarget= SpellCanTargetItem()
Documents you may be interested
Documents you may be interested