Implement the basic structure for macroer
This commit is contained in:
@@ -35,6 +35,7 @@ local function init()
|
||||
---@field AgentTracker InitTable
|
||||
---@field Emoter InitTable
|
||||
---@field Echoer InitTable
|
||||
---@field Macroer InitTable
|
||||
|
||||
--- Config ---
|
||||
---@class HeimdallConfig
|
||||
@@ -114,6 +115,7 @@ local function init()
|
||||
|
||||
---@class HeimdallMacroerConfig
|
||||
---@field enabled boolean
|
||||
---@field priority string[]
|
||||
|
||||
--- Data ---
|
||||
---@class HeimdallMessengerData
|
||||
@@ -224,6 +226,7 @@ local function init()
|
||||
},
|
||||
macroer = {
|
||||
enabled = shared.GetOrDefault(Heimdall_Data, { "config", "macroer", "enabled" }, false),
|
||||
priority = shared.GetOrDefault(Heimdall_Data, { "config", "macroer", "priority" }, {}),
|
||||
},
|
||||
agents = shared.GetOrDefault(Heimdall_Data, { "config", "agents" }, {}),
|
||||
}
|
||||
@@ -318,6 +321,7 @@ local function init()
|
||||
shared.Dueler.Init()
|
||||
shared.Bully.Init()
|
||||
shared.AgentTracker.Init()
|
||||
shared.Macroer.Init()
|
||||
print("Heimdall loaded!")
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user