Move data definitions into their separate modules

This commit is contained in:
2025-05-18 15:54:38 +02:00
parent 3ef0e4c935
commit 287be2a31c
4 changed files with 15 additions and 2 deletions

View File

@@ -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")