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()
Facts
- Date created
- Sep 19, 2015
- Category
- Last update
- Oct 26, 2016
- Development stage
- Release
- Language
- deDE
- enUS
- esES
- esMX
- frFR
- itIT
- koKR
- ptBR
- ruRU
- zhCN
- zhTW
- License
- CC BY-NC-SA 3.0
- Curse link
- LibDurability
- Reverse relationships
- 1
- Downloads
- 2,336
- Recent files
- R: r10-release for 7.1.0 Oct 26, 2016
- A: r9 for 7.1.0 Oct 25, 2016
- R: r8-release for 7.0.3 Jul 20, 2016
- A: r7 for 7.0.3 Jul 19, 2016
- R: r6-release for 6.2.2 Oct 09, 2015