Move data definitions into their separate modules
This commit is contained in:
@@ -10,8 +10,6 @@ local ModuleName = "AgentTracker"
|
||||
---@field debug boolean
|
||||
---@field channels string[]
|
||||
|
||||
shared.agentTracker.agents = ReactiveValue(Heimdall_Data.config.agents)
|
||||
|
||||
---@class AgentTracker
|
||||
shared.AgentTracker = {
|
||||
---@param name string
|
||||
@@ -46,6 +44,10 @@ shared.AgentTracker = {
|
||||
end,
|
||||
---@return nil
|
||||
Init = function()
|
||||
shared.agentTracker = {
|
||||
agents = ReactiveValue.new(Heimdall_Data.config.agents),
|
||||
}
|
||||
|
||||
--/run Heimdall_Data.config.agents["Cyheuraeth"]=date("%Y-%m-%dT%H:%M:%S")
|
||||
---@type table<string, boolean>
|
||||
local channelRosterFrame = CreateFrame("Frame")
|
||||
|
||||
@@ -7,6 +7,10 @@ local ModuleName = "NetworkMessenger"
|
||||
---@field debug boolean
|
||||
---@field interval number
|
||||
|
||||
---@class HeimdallNetworkMessengerData
|
||||
---@field queue table<string, Message>
|
||||
---@field ticker Timer?
|
||||
|
||||
---@class NetworkMessenger
|
||||
shared.NetworkMessenger = {
|
||||
Init = function()
|
||||
|
||||
@@ -8,6 +8,9 @@ local ModuleName = "StinkyCache"
|
||||
---@field commander string
|
||||
---@field ttl number
|
||||
|
||||
---@class HeimdallStinkyCacheData
|
||||
---@field stinkies table<string, {value: number, timestamp: number}>
|
||||
|
||||
---@class StinkyCache
|
||||
shared.StinkyCache = {
|
||||
Init = function()
|
||||
|
||||
@@ -12,6 +12,10 @@ local ModuleName = "Whoer"
|
||||
---@field zoneNotifyFor table<string, boolean>
|
||||
---@field queries string
|
||||
|
||||
---@class HeimdallWhoData
|
||||
---@field updateTicker Timer?
|
||||
---@field whoTicker Timer?
|
||||
|
||||
---@class Whoer
|
||||
shared.Whoer = {
|
||||
Init = function()
|
||||
|
||||
Reference in New Issue
Block a user