WoW LibLatency addon Shadowlands/classic 2021
logo
wow addon LibLatency

LibLatency

Game Version: 9.0.2
Total Downloads: 8,512
Updated: Nov 23, 2020
Created: Aug 27, 2015
download LibLatencyDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
r25-release release 3.42 KB Nov 23, 2020 9.0.2 0 download LibLatency r25-release releaseDownload
r23-release release 3.42 KB Jun 26, 2019 8.2.0 2,017 download LibLatency r23-release releaseDownload
r21-release release 3.45 KB Jul 17, 2018 8.0.1 903 download LibLatency r21-release releaseDownload
r19-release release 3.53 KB Mar 1, 2018 7.3.5 504 download LibLatency r19-release releaseDownload
r15-release release 3.58 KB Oct 26, 2016 7.1.0 1,413 download LibLatency r15-release releaseDownload
r13-release release 3.58 KB Jul 20, 2016 7.0.3 1,042 download LibLatency r13-release releaseDownload
r11-release release 3.83 KB Sep 19, 2015 6.2.2 1,177 download LibLatency r11-release releaseDownload
r9-release release 3.80 KB Sep 15, 2015 6.2.2 170 download LibLatency r9-release releaseDownload
r7-release release 3.73 KB Sep 10, 2015 6.2.2 150 download LibLatency r7-release releaseDownload
r4-release release 3.64 KB Sep 10, 2015 6.2.2 147 download LibLatency r4-release releaseDownload
r24-alpha alpha 3.18 KB Nov 23, 2020 9.0.2 0 download LibLatency r24-alpha alphaDownload
r22-alpha alpha 3.18 KB Jun 26, 2019 8.2.0 21 download LibLatency r22-alpha alphaDownload
r20-alpha alpha 3.18 KB Jul 17, 2018 8.0.1 69 download LibLatency r20-alpha alphaDownload
r18-alpha alpha 3.53 KB Mar 1, 2018 7.3.5 51 download LibLatency r18-alpha alphaDownload
r17-alpha alpha 3.52 KB Mar 1, 2018 7.2.5 55 download LibLatency r17-alpha alphaDownload
r16-alpha alpha 3.17 KB Jun 29, 2017 7.2.5 122 download LibLatency r16-alpha alphaDownload
r14 alpha 3.51 KB Oct 25, 2016 7.1.0 100 download LibLatency r14 alphaDownload
r12 alpha 3.51 KB Jul 19, 2016 7.0.3 110 download LibLatency r12 alphaDownload
r10 alpha 3.78 KB Sep 19, 2015 6.2.2 90 download LibLatency r10 alphaDownload
r8 alpha 3.75 KB Sep 15, 2015 6.2.2 57 download LibLatency r8 alphaDownload
r6 alpha 3.68 KB Sep 10, 2015 6.2.2 85 download LibLatency r6 alphaDownload
r5 alpha 3.66 KB Sep 10, 2015 6.2.2 77 download LibLatency r5 alphaDownload
r3 alpha 3.59 KB Sep 10, 2015 6.2.2 71 download LibLatency r3 alphaDownload
r2 alpha 3.55 KB Aug 27, 2015 6.2.0 81 download LibLatency r2 alphaDownload

Description

Share this:

Please support my work on Patreon/GitHub

 

A library for transmitting and receiving latency information of players.

API

LL: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

LL:Unregister(addon)

addon – The name of your addon (string) or your addon object (table)

LL:RequestLatency(channel)

channel – The name of the channel to request latency on (string) or nil/false/no value for automatic.

  • Valid channels are GUILD, INSTANCE_CHAT, RAID, PARTY.
  • Automatic channel selection only considers the 3 group channels, it doesn't consider the GUILD channel.

Example:

local LL = LibStub("LibLatency")
local function update(latencyHome, latencyWorld, sender, channel)
	print(format("User %s has a home latency of %d and a world latency of %d!", sender, latencyHome, latencyWorld))
end
LL:Register("myAddOnNameOrObject", update)
LL:RequestLatency("GUILD")

Comments

Add a comment