WoW LibDurability addon Shadowlands/classic 2021
logo
wow addon LibDurability

LibDurability

Game Version: 9.0.2
Total Downloads: 5,328
Updated: Nov 23, 2020
Created: Sep 19, 2015
download LibDurabilityDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
r20-release release 3.62 KB Nov 23, 2020 9.0.2 0 download LibDurability r20-release releaseDownload
r18-release release 3.62 KB Jun 26, 2019 8.2.0 636 download LibDurability r18-release releaseDownload
r16-release release 3.64 KB Jul 17, 2018 8.0.1 650 download LibDurability r16-release releaseDownload
r14-release release 3.72 KB Mar 1, 2018 7.3.5 374 download LibDurability r14-release releaseDownload
r10-release release 3.78 KB Oct 26, 2016 7.1.0 840 download LibDurability r10-release releaseDownload
r8-release release 3.78 KB Jul 20, 2016 7.0.3 951 download LibDurability r8-release releaseDownload
r6-release release 3.96 KB Oct 9, 2015 6.2.2 1,055 download LibDurability r6-release releaseDownload
r4-release release 3.88 KB Sep 19, 2015 6.2.2 150 download LibDurability r4-release releaseDownload
r19-alpha alpha 3.37 KB Nov 23, 2020 9.0.2 0 download LibDurability r19-alpha alphaDownload
r17-alpha alpha 3.37 KB Jun 26, 2019 8.2.0 17 download LibDurability r17-alpha alphaDownload
r15-alpha alpha 3.37 KB Jul 17, 2018 8.0.1 43 download LibDurability r15-alpha alphaDownload
r13-alpha alpha 3.72 KB Mar 1, 2018 7.3.5 49 download LibDurability r13-alpha alphaDownload
r12-alpha alpha 3.71 KB Mar 1, 2018 7.2.5 46 download LibDurability r12-alpha alphaDownload
r11-alpha alpha 3.36 KB Jun 29, 2017 7.2.5 105 download LibDurability r11-alpha alphaDownload
r9 alpha 3.71 KB Oct 25, 2016 7.1.0 106 download LibDurability r9 alphaDownload
r7 alpha 3.71 KB Jul 19, 2016 7.0.3 107 download LibDurability r7 alphaDownload
r5 alpha 3.89 KB Sep 24, 2015 6.2.2 121 download LibDurability r5 alphaDownload
r3 alpha 3.83 KB Sep 19, 2015 6.2.2 78 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