GetEquipmentSetInfoByName

From Warcraft Wiki
Jump to navigation Jump to search
Links
Info
Added in 3.1.0

Returns information about a saved equipment set:

name, texture, setID, isEquipped, numItems, equippedItems, availableItems, missingItems, ignoredSlots = GetEquipmentSetInfoByName("name")

Arguments

name
String - Equipment Set name.

Returns

name
String - Equipment set name.
texture
String/Number - Texture selected for the set.
setIndex
Number - Index of the set, between 0 and 9.
isEquipped
Boolean - True if all non-ignored slots in the set are equipped, False otherwise.
numItems
Number - Number of items included in the set.
equippedItems
Number - Number of items in the set currently equipped.
availableItems
Number - Number of items in the set currently in the player's bags/bank, if bank is available.
missingItems
Number - Number of items in the set that are not currently available to the player.
ignoredSlots
Number - Number of inventory slots ignored by the set.

Details

  • The 'setIndex' return value is set when the equipment set is created and doesn't change as other sets are added or deleted. it appears to be the index of a slot in the internal storage used to hold the equipment set information.

See also