Compare commits
3 Commits
86a4daaceb
...
3bc59f9d73
Author | SHA1 | Date | |
---|---|---|---|
3bc59f9d73 | |||
837fe3b71e | |||
9adc6aceda |
@@ -1,6 +1,7 @@
|
|||||||
-- TICKER_1000
|
-- TICKER_1000
|
||||||
function()
|
function()
|
||||||
if aura_env.queryPending then return end
|
if aura_env.queryPending then return end
|
||||||
|
if WeakAuras.IsOptionsOpen() then return end
|
||||||
SetWhoToUI(1)
|
SetWhoToUI(1)
|
||||||
---@type WHOQuery
|
---@type WHOQuery
|
||||||
local query = aura_env.whoQueries[aura_env.whoQueryIdx]
|
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
|
---@param player Player
|
||||||
---@return string
|
---@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",
|
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)
|
player.name, player.class, player.guild, player.zone, player.firstSeen, player.lastSeen, player.seenCount)
|
||||||
end
|
end
|
||||||
@@ -263,7 +263,7 @@ aura_env.Notify = function(player)
|
|||||||
if not notifyFor[player.zone] then
|
if not notifyFor[player.zone] then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
local msg = MakeNotifyMessage(player)
|
local msg = aura_env.MakeNotifyMessage(player)
|
||||||
NotifyAll(msg)
|
NotifyAll(msg)
|
||||||
aura_env.NotifyChannel(player)
|
aura_env.NotifyChannel(player)
|
||||||
end
|
end
|
||||||
@@ -320,7 +320,7 @@ end
|
|||||||
---@param player Player
|
---@param player Player
|
||||||
---@return nil
|
---@return nil
|
||||||
aura_env.NotifyChannel = function(player)
|
aura_env.NotifyChannel = function(player)
|
||||||
local msg = MakeNotifyMessage(player)
|
local msg = aura_env.MakeNotifyMessage(player)
|
||||||
NotifyChannel(msg)
|
NotifyChannel(msg)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user