WoW LibDurability addon Shadowlands/Burning Crusade Classic 2021
logo
wow addon LibDurability

LibDurability

Game Version: 9.0.5
Total Downloads: 5,772
Updated: Mar 27, 2021
Created: Sep 19, 2015
download LibDurabilityDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
r23-release release 3.70 KB Mar 27, 2021 9.0.5 0 download LibDurability r23-release releaseDownload
r20-release release 3.62 KB Nov 23, 2020 9.0.2 246 download LibDurability r20-release releaseDownload
r18-release release 3.62 KB Jun 26, 2019 8.2.0 651 download LibDurability r18-release releaseDownload
r16-release release 3.64 KB Jul 17, 2018 8.0.1 654 download LibDurability r16-release releaseDownload
r14-release release 3.72 KB Mar 1, 2018 7.3.5 390 download LibDurability r14-release releaseDownload
r10-release release 3.78 KB Oct 26, 2016 7.1.0 852 download LibDurability r10-release releaseDownload
r8-release release 3.78 KB Jul 20, 2016 7.0.3 964 download LibDurability r8-release releaseDownload
r6-release release 3.96 KB Oct 9, 2015 6.2.2 1,068 download LibDurability r6-release releaseDownload
r4-release release 3.88 KB Sep 19, 2015 6.2.2 161 download LibDurability r4-release releaseDownload
r22-alpha alpha 3.70 KB Mar 27, 2021 9.0.5 0 download LibDurability r22-alpha alphaDownload
r19-alpha alpha 3.37 KB Nov 23, 2020 9.0.2 7 download LibDurability r19-alpha alphaDownload
r17-alpha alpha 3.37 KB Jun 26, 2019 8.2.0 21 download LibDurability r17-alpha alphaDownload
r15-alpha alpha 3.37 KB Jul 17, 2018 8.0.1 47 download LibDurability r15-alpha alphaDownload
r13-alpha alpha 3.72 KB Mar 1, 2018 7.3.5 65 download LibDurability r13-alpha alphaDownload
r12-alpha alpha 3.71 KB Mar 1, 2018 7.2.5 59 download LibDurability r12-alpha alphaDownload
r11-alpha alpha 3.36 KB Jun 29, 2017 7.2.5 121 download LibDurability r11-alpha alphaDownload
r9 alpha 3.71 KB Oct 25, 2016 7.1.0 122 download LibDurability r9 alphaDownload
r7 alpha 3.71 KB Jul 19, 2016 7.0.3 120 download LibDurability r7 alphaDownload
r5 alpha 3.89 KB Sep 24, 2015 6.2.2 134 download LibDurability r5 alphaDownload
r3 alpha 3.83 KB Sep 19, 2015 6.2.2 90 download LibDurability r3 alphaDownload

Description

Share this:

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

Add a comment