Returns information about uniqueness restrictions for equipping an item.

Only applies to items with "Unique Equipped" restrictions upon how many similar items can be equipped -- returns nil for items which for which "Unique" restricts how many the player can have in her possession.

Also returns nil if the queried item is not currently in the WoW client's item cache.


See also Item functions.

Signature:

uniqueFamily, maxEquipped = GetItemUniqueness(itemID) or GetItemUniqueness("itemName") or GetItemUniqueness("itemLink")

Arguments:

  • itemID - An item's ID (number)
  • itemName - An item's name (string)
  • itemLink - An item's link (string)

Returns:

  • uniqueFamily - The family of items with special uniqueness restrictions to which the item belongs (number)
  • maxEquipped - The maximum number of items under this restriction that can be equipped (number)

Examples:

GetItemUniqueness("Rigid Dragon's Eye")
-- returns 2, 3 if your WoW client has seen this gem
-- up to 3 gems in the Jeweler's Gems family can be equipped at any given time
GetItemUniqueness("Rigid Stormjewel")
-- returns 6, 1 if your WoW client has seen this gem
-- only 1 gem in the Stormjewel family can be equipped at any given time
GetItemUniqueness("Figurine - Ruby Hare")
-- returns -1, 1 if your WoW client has seen this item
-- only 1 Ruby Hare can be equipped at any given time