
LibDurability
A library for transmitting and receiving durability information of players in your group.
Addon Details
Expansion
Categories
Developers
Having issues?
Please support my work on Patreon/GitHub
A library for transmitting and receiving durability information of players in your group.
API
LD:Register(addon, function)
addon - The name of your addon (string) or your addon object (table)
function - The name of function tied to the addon object (string) or a function reference
LD:Unregister(addon)
addon - The name of your addon (string) or your addon object (table)
LD:RequestDurability(channel)
channel - The name of the channel to request durability on (string) or nil/false/no value for automatic.
- Valid channels are INSTANCE_CHAT, RAID, PARTY.
Example:
local LD = LibStub("LibDurability")
local function update(percent, broken, sender, channel)
print(format("User %s has a durability of %d%% and has %d broken items!", sender, percent, broken))
end
LD:Register("myAddOnNameOrObject", update)
LD:RequestDurability()
More addons for Legion
Discover other addons that might interest you
AdiBags
Adirelle's bag addon.
Auc-Stat-TheUndermineJournal
Auc-Stat-TheUndermineJournal
SharedMedia: Retro Game Sounds Vol. 1
100 retro video game sounds for use with any Shared Media enabled addon.
SpellDamage
Displays spell's damage, heal or absorb on the action bar.
LibDBIcon-1.0
Allows addons to easily create a lightweight minimap icon as an alternative to heavier LDB…
Sweetsour’s Custom Audio
Add audio queues to certain game events, like critical strikes!
LeeroyHillCatsPower Revived
A revival of the old LeeroyHillCatsPower addon
expr – a simple calculator that supports LUA expressions
/x - evaluates an expression and prints output to the chat window