Compare commits
3 Commits
86a4daaceb
...
3bc59f9d73
Author | SHA1 | Date | |
---|---|---|---|
3bc59f9d73 | |||
837fe3b71e | |||
9adc6aceda |
@@ -1,6 +1,7 @@
|
||||
-- TICKER_1000
|
||||
function()
|
||||
if aura_env.queryPending then return end
|
||||
if WeakAuras.IsOptionsOpen() then return end
|
||||
SetWhoToUI(1)
|
||||
---@type WHOQuery
|
||||
local query = aura_env.whoQueries[aura_env.whoQueryIdx]
|
||||
|
File diff suppressed because one or more lines are too long
@@ -241,7 +241,7 @@ end
|
||||
|
||||
---@param player Player
|
||||
---@return string
|
||||
local MakeNotifyMessage = function(player)
|
||||
aura_env.MakeNotifyMessage = function(player)
|
||||
return string.format("%s of class %s and guild %s in %s, first seen: %s, last seen: %s, times seen: %d",
|
||||
player.name, player.class, player.guild, player.zone, player.firstSeen, player.lastSeen, player.seenCount)
|
||||
end
|
||||
@@ -263,7 +263,7 @@ aura_env.Notify = function(player)
|
||||
if not notifyFor[player.zone] then
|
||||
return
|
||||
end
|
||||
local msg = MakeNotifyMessage(player)
|
||||
local msg = aura_env.MakeNotifyMessage(player)
|
||||
NotifyAll(msg)
|
||||
aura_env.NotifyChannel(player)
|
||||
end
|
||||
@@ -320,7 +320,7 @@ end
|
||||
---@param player Player
|
||||
---@return nil
|
||||
aura_env.NotifyChannel = function(player)
|
||||
local msg = MakeNotifyMessage(player)
|
||||
local msg = aura_env.MakeNotifyMessage(player)
|
||||
NotifyChannel(msg)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user