cleaned up aliases
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
|
||||
|
||||
|
||||
do -- mission aliases
|
||||
|
||||
--- @alias LogLevel
|
||||
--- | "DEBUG"
|
||||
--- | "INFO"
|
||||
--- | "WARN"
|
||||
--- | "ERROR"
|
||||
--- | "NONE"
|
||||
|
||||
---@class Array<T>: { [integer]: T }
|
||||
|
||||
end
|
||||
|
||||
---@class KeyValuePair
|
||||
---@field key string
|
||||
---@field value any
|
||||
@@ -261,7 +261,8 @@ do --setup route util
|
||||
if racetrackSecondPoint then orbitType = "Race-Track" end
|
||||
|
||||
local basePoint = base:getPoint()
|
||||
local points = {}
|
||||
---@type Array<table>
|
||||
local points
|
||||
if racetrackSecondPoint == nil then
|
||||
points = {
|
||||
[1] = FlyToPointTask(capPoint, altitude, speed, additionalFlyOverTasks),
|
||||
|
||||
@@ -227,10 +227,10 @@ end
|
||||
|
||||
---@internal
|
||||
---@param checkHealth boolean
|
||||
---@param messageIfDone boolean
|
||||
function ZoneMission:UpdateState(checkHealth, messageIfDone)
|
||||
---@param _messageIfDone boolean
|
||||
function ZoneMission:UpdateState(checkHealth, _messageIfDone)
|
||||
if checkHealth == nil then checkHealth = false end
|
||||
if messageIfDone == nil then messageIfDone = true end
|
||||
if _messageIfDone == nil then _messageIfDone = true end
|
||||
|
||||
|
||||
if checkHealth == true then
|
||||
|
||||
@@ -3,6 +3,13 @@ local Util = require("classes.util.Util")
|
||||
local SpearheadConfig = require("classes.configuration.GlobalConfig")
|
||||
|
||||
|
||||
--- @alias LogLevel
|
||||
--- | "DEBUG"
|
||||
--- | "INFO"
|
||||
--- | "WARN"
|
||||
--- | "ERROR"
|
||||
--- | "NONE"
|
||||
|
||||
---@type LogLevel
|
||||
local defaultLogLevel = "INFO"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user