v0.13.8

GetInventoryItemBroken

functionimplementedavailable in: camelot

Returns true if an inventory item has zero durability.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
unitstringThe unit whose inventory is to be queried.
invSlotIdnumberInventorySlotId - to be queried, obtained via GetInventorySlotInfo.

Returns

isBroken · boolean · Returns true if the specified item is broken, false otherwise.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.