Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:API GetEquipmentSetLocations
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{wowapi}} Populates a table with the location/status of each slot in the specified equipment set. infoArray = GetEquipmentSetLocations("name"[, infoArray]); ==Arguments== ;"name" : String - equipment set name to retrieve information about. ;infoArray : Table - optional if you don't want a new return table created. (Recommended if you call this multiple times) ==Returns== ;infoArray : Table - the array portion of this table contains information on each of the slots for the set. : 0: Ammo : 1: Head : 2: Neck : 3: Shoulder : 4: Shirt : 5: Chest : 6: Belt : 7: Legs : 8: Feet : 9: Wrist : 10: Gloves : 11: Finger 1 : 12: Finger 2 : 13: Trinket 1 : 14: Trinket 2 : 15: Back : 16: Main hand : 17: Off hand : 18: Ranged : 19: Tabard ==Notes== If '''"name"''' is not a valid equipment set, the function will not return any value. If you supply infoArray as an argument, the elements [0..19] of the array will be set accordingly and all other values are left unchanged. If successful, the return value of the function will be a reference to the passed infoArray. If you do not supply infoArray as an argument, a new table is created and returned by the function. The values for each slot [0..19] of infoArray can be examined as follows: * -1 : The item for this slot is unavailable. * 0 : The slot should be emptied. * 1 : This slot is ignored by the equipment set, no change will be made. * Any other value can be examined by calling [[API_EquipmentManager_UnpackLocation|EquipmentManager_UnpackLocation]](value). {{API Trail EquipmentManager}}
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:API Trail EquipmentManager
(
edit
)
Template:Api
(
edit
)
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Navbar
(
edit
)
Template:Navbox
(
edit
)
Template:Tcl
(
edit
)
Template:Tocright
(
edit
)
Template:Wowapi
(
edit
)