
LibLatency
A library for transmitting and receiving latency information of players.
Addon Details
Expansion
Categories
Developers
Having issues?
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")
More addons for Legion
Discover other addons that might interest you
LibWindow-1.1
A library that handles the basics of "window" style frames
HandyNotes – Argus
Shows the POIs in Argus
BigDumbLootCouncil
Simple & fast loot council management addon
MrTarget
Better Unit Frames for BATTLEGROUNDS
HereBeDragons
HereBeDragons is a data API for the World of Warcraft mapping system
HideGroupNumber
Hides the group number in unit frames
m4x-GroupTimer
Group wide timer and warning for group farms
Identity-2
Configurable chat identifier, auto-labels messages in your channels and tells with your main's name