Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API GetEquipmentSetInfo
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}} Returns information about a saved equipment set: name, icon, lessIndex = GetEquipmentSetInfo(index) icon, lessIndex = GetEquipmentSetInfoByName("name") ==Arguments== ;GetEquipmentSetInfo -- index : Number: an ascending index going from 1 to [[API_GetNumEquipmentSets|GetNumEquipmentSets]](). ;GetEquipmentSetInfoByName -- name: String: equipment set name. ==Returns== The functions returns nothing if the queried index or set name does not exist. If the index/name is valid, the following values are returned: ; name : String: Equipment set name. ; icon : String: Icon texture file name (relative to Interface/Icons) selected for this set. ; lessIndex : Number: A number one less than the set index. ''This return value is not used by the default UI.'' ==Example== local name, icon, lessIndex = GetEquipmentSetInfo(1); if not name then print("You have no equipment sets"); else print("First equipment set: \124TInterface\\Icons\\" .. icon .. ":16\124t " .. name); end {{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
)
Close
Loading editor…