Quantcast
Durability Function - WoWInterface
Thread Tools Display Modes
04-05-06, 08:42 AM   #1
LumpN
A Kobold Labourer
Join Date: Apr 2006
Posts: 1
Durability Function

Being the author of Titan Durability (which is by now included in Titan Panel 2.x), I would like to see some kind of GetDurability function for items similar to GetContainerItemInfo(bagID,slot) and GetInventorySlotInfo(slot).

AFAIK currently all Mods displaying durabilty are parsing it via GameTooltip, which is quite dependent on a bunch of Widget API functions and intricate regarding localization.

Anything like the following code would be highly appreciated.
Code:
durability, durabilityMax = GetContainerItemDurability(bag, slot)
durability, durabilityMax = GetInventorySlotDurability(slot)
I don't own an US-WoW-account, so i can't write this on the official UI forums. That's why I would like you to forward my request.
  Reply With Quote

WoWInterface » Developer Discussions » Wish List » Durability Function

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off