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()
Comments (0)
More addons for Legion
Discover other addons that might interest you
Avatar
Avatar
Executive Assistant
Custom To-Do/Task List is Only the Beginning
ConsolePort
The Gamepad Addon
QuestBuster
Provides frames for World Quests, plus more
DarkmoonTicketTooltip
Displays amount of Darkmoon Prize tickets awarded in the tooltip of DMF quest items, along…
EskaTracker : Objectives
An extension for EskaTracker which adds all objectives
SmexyMats(Retail)
Crafting Reagent tooltip helper. Displays reagent source(s) and professions the reagent can be used for.…
Keystone Roll-Call
Accumulates, displays, and reports all known keystones for the week, automatically compiled from guild, party,…
You must be logged in to leave a comment.