Intellisense

This commit is contained in:
Applevangelist
2023-09-13 16:02:38 +02:00
parent 0e3d4205c9
commit 74f87b3f2d
17 changed files with 30 additions and 4 deletions

View File

@@ -34,6 +34,7 @@ local _TraceClassMethod = {}
local _ClassID = 0 local _ClassID = 0
---
-- @type BASE -- @type BASE
-- @field ClassName The name of the class. -- @field ClassName The name of the class.
-- @field ClassID The ID number of the class. -- @field ClassID The ID number of the class.

View File

@@ -32,6 +32,7 @@
-- @image Core_Database.JPG -- @image Core_Database.JPG
---
-- @type DATABASE -- @type DATABASE
-- @field #string ClassName Name of the class. -- @field #string ClassName Name of the class.
-- @field #table Templates Templates: Units, Groups, Statics, ClientsByName, ClientsByID. -- @field #table Templates Templates: Units, Groups, Statics, ClientsByName, ClientsByID.

View File

@@ -173,6 +173,7 @@
-- @image Core_Event.JPG -- @image Core_Event.JPG
---
-- @type EVENT -- @type EVENT
-- @field #EVENT.Events Events -- @field #EVENT.Events Events
-- @extends Core.Base#BASE -- @extends Core.Base#BASE

View File

@@ -15,6 +15,7 @@
-- @module Core.Report -- @module Core.Report
-- @image Core_Report.JPG -- @image Core_Report.JPG
---
-- @type REPORT -- @type REPORT
-- @extends Core.Base#BASE -- @extends Core.Base#BASE

View File

@@ -29,6 +29,8 @@
-- @module Core.Settings -- @module Core.Settings
-- @image Core_Settings.JPG -- @image Core_Settings.JPG
---
-- @type SETTINGS -- @type SETTINGS
-- @extends Core.Base#BASE -- @extends Core.Base#BASE
@@ -218,6 +220,7 @@ SETTINGS = {
SETTINGS.__Enum = {} SETTINGS.__Enum = {}
---
-- @type SETTINGS.__Enum.Era -- @type SETTINGS.__Enum.Era
-- @field #number WWII -- @field #number WWII
-- @field #number Korea -- @field #number Korea

View File

@@ -286,6 +286,7 @@ SPAWN.Takeoff = {
Cold = 4, Cold = 4,
} }
---
-- @type SPAWN.SpawnZoneTable -- @type SPAWN.SpawnZoneTable
-- @list <Core.Zone#ZONE_BASE> SpawnZone -- @list <Core.Zone#ZONE_BASE> SpawnZone

View File

@@ -34,6 +34,7 @@
-- @module Core.SpawnStatic -- @module Core.SpawnStatic
-- @image Core_Spawnstatic.JPG -- @image Core_Spawnstatic.JPG
---
-- @type SPAWNSTATIC -- @type SPAWNSTATIC
-- @field #string SpawnTemplatePrefix Name of the template group. -- @field #string SpawnTemplatePrefix Name of the template group.
-- @field #number CountryID Country ID. -- @field #number CountryID Country ID.

View File

@@ -53,6 +53,7 @@
-- @module Core.Zone -- @module Core.Zone
-- @image Core_Zones.JPG -- @image Core_Zones.JPG
---
-- @type ZONE_BASE -- @type ZONE_BASE
-- @field #string ZoneName Name of the zone. -- @field #string ZoneName Name of the zone.
-- @field #number ZoneProbability A value between 0 and 1. 0 = 0% and 1 = 100% probability. -- @field #number ZoneProbability A value between 0 and 1. 0 = 0% and 1 = 100% probability.
@@ -1496,6 +1497,7 @@ function ZONE_RADIUS:GetRandomCoordinateWithoutBuildings(inner,outer,distance,ma
end end
---
-- @type ZONE -- @type ZONE
-- @extends #ZONE_RADIUS -- @extends #ZONE_RADIUS
@@ -1580,7 +1582,7 @@ function ZONE:FindByName( ZoneName )
end end
---
-- @type ZONE_UNIT -- @type ZONE_UNIT
-- @field Wrapper.Unit#UNIT ZoneUNIT -- @field Wrapper.Unit#UNIT ZoneUNIT
-- @extends Core.Zone#ZONE_RADIUS -- @extends Core.Zone#ZONE_RADIUS
@@ -1723,6 +1725,7 @@ function ZONE_UNIT:GetVec3( Height )
return Vec3 return Vec3
end end
---
-- @type ZONE_GROUP -- @type ZONE_GROUP
-- @extends #ZONE_RADIUS -- @extends #ZONE_RADIUS
@@ -1809,6 +1812,7 @@ function ZONE_GROUP:GetRandomPointVec2( inner, outer )
end end
---
-- @type ZONE_POLYGON_BASE -- @type ZONE_POLYGON_BASE
-- @field #ZONE_POLYGON_BASE.ListVec2 Polygon The polygon defined by an array of @{DCS#Vec2}. -- @field #ZONE_POLYGON_BASE.ListVec2 Polygon The polygon defined by an array of @{DCS#Vec2}.
-- @extends #ZONE_BASE -- @extends #ZONE_BASE

View File

@@ -26,6 +26,7 @@
-- @module Functional.ATC_Ground -- @module Functional.ATC_Ground
-- @image Air_Traffic_Control_Ground_Operations.JPG -- @image Air_Traffic_Control_Ground_Operations.JPG
---
-- @type ATC_GROUND -- @type ATC_GROUND
-- @field Core.Set#SET_CLIENT SetClient -- @field Core.Set#SET_CLIENT SetClient
-- @extends Core.Base#BASE -- @extends Core.Base#BASE
@@ -39,6 +40,7 @@ ATC_GROUND = {
AirbaseNames = nil, AirbaseNames = nil,
} }
---
-- @type ATC_GROUND.AirbaseNames -- @type ATC_GROUND.AirbaseNames
-- @list <#string> -- @list <#string>
@@ -846,6 +848,7 @@ function ATC_GROUND_UNIVERSAL:Start( RepeatScanSeconds )
return self return self
end end
---
-- @type ATC_GROUND_CAUCASUS -- @type ATC_GROUND_CAUCASUS
-- @extends #ATC_GROUND -- @extends #ATC_GROUND
@@ -985,7 +988,7 @@ function ATC_GROUND_CAUCASUS:Start( RepeatScanSeconds )
end end
---
-- @type ATC_GROUND_NEVADA -- @type ATC_GROUND_NEVADA
-- @extends #ATC_GROUND -- @extends #ATC_GROUND
@@ -1123,7 +1126,7 @@ function ATC_GROUND_NEVADA:Start( RepeatScanSeconds )
self.AirbaseMonitor = SCHEDULER:New( self, self._AirbaseMonitor, { self }, 0, 2, RepeatScanSeconds ) self.AirbaseMonitor = SCHEDULER:New( self, self._AirbaseMonitor, { self }, 0, 2, RepeatScanSeconds )
end end
---
-- @type ATC_GROUND_NORMANDY -- @type ATC_GROUND_NORMANDY
-- @extends #ATC_GROUND -- @extends #ATC_GROUND
@@ -1280,6 +1283,7 @@ function ATC_GROUND_NORMANDY:Start( RepeatScanSeconds )
self.AirbaseMonitor = SCHEDULER:New( self, self._AirbaseMonitor, { self }, 0, 2, RepeatScanSeconds ) self.AirbaseMonitor = SCHEDULER:New( self, self._AirbaseMonitor, { self }, 0, 2, RepeatScanSeconds )
end end
---
-- @type ATC_GROUND_PERSIANGULF -- @type ATC_GROUND_PERSIANGULF
-- @extends #ATC_GROUND -- @extends #ATC_GROUND

View File

@@ -52,10 +52,12 @@
-- @module Functional.CleanUp -- @module Functional.CleanUp
-- @image CleanUp_Airbases.JPG -- @image CleanUp_Airbases.JPG
---
-- @type CLEANUP_AIRBASE.__ Methods which are not intended for mission designers, but which are used interally by the moose designer :-) -- @type CLEANUP_AIRBASE.__ Methods which are not intended for mission designers, but which are used interally by the moose designer :-)
-- @field #map<#string,Wrapper.Airbase#AIRBASE> Airbases Map of Airbases. -- @field #map<#string,Wrapper.Airbase#AIRBASE> Airbases Map of Airbases.
-- @extends Core.Base#BASE -- @extends Core.Base#BASE
---
-- @type CLEANUP_AIRBASE -- @type CLEANUP_AIRBASE
-- @extends #CLEANUP_AIRBASE.__ -- @extends #CLEANUP_AIRBASE.__

View File

@@ -181,6 +181,7 @@ COMMANDCENTER = {
} }
---
-- @type COMMANDCENTER.AutoAssignMethods -- @type COMMANDCENTER.AutoAssignMethods
COMMANDCENTER.AutoAssignMethods = { COMMANDCENTER.AutoAssignMethods = {
["Random"] = 1, ["Random"] = 1,

View File

@@ -19,6 +19,7 @@
-- @module Tasking.Mission -- @module Tasking.Mission
-- @image Task_Mission.JPG -- @image Task_Mission.JPG
---
-- @type MISSION -- @type MISSION
-- @field #MISSION.Clients _Clients -- @field #MISSION.Clients _Clients
-- @field Core.Menu#MENU_COALITION MissionMenu -- @field Core.Menu#MENU_COALITION MissionMenu

View File

@@ -220,6 +220,7 @@
-- @module Tasking.Task -- @module Tasking.Task
-- @image MOOSE.JPG -- @image MOOSE.JPG
---
-- @type TASK -- @type TASK
-- @field Core.Scheduler#SCHEDULER TaskScheduler -- @field Core.Scheduler#SCHEDULER TaskScheduler
-- @field Tasking.Mission#MISSION Mission -- @field Tasking.Mission#MISSION Mission

View File

@@ -11,6 +11,7 @@
-- @module Tasking.TaskInfo -- @module Tasking.TaskInfo
-- @image MOOSE.JPG -- @image MOOSE.JPG
---
-- @type TASKINFO -- @type TASKINFO
-- @extends Core.Base#BASE -- @extends Core.Base#BASE
@@ -29,6 +30,7 @@ TASKINFO = {
ClassName = "TASKINFO", ClassName = "TASKINFO",
} }
---
-- @type TASKINFO.Detail #string A string that flags to document which level of detail needs to be shown in the report. -- @type TASKINFO.Detail #string A string that flags to document which level of detail needs to be shown in the report.
-- --
-- - "M" for Markings on the Map (F10). -- - "M" for Markings on the Map (F10).

View File

@@ -11,6 +11,7 @@
-- @module Wrapper.Identifiable -- @module Wrapper.Identifiable
-- @image MOOSE.JPG -- @image MOOSE.JPG
---
-- @type IDENTIFIABLE -- @type IDENTIFIABLE
-- @extends Wrapper.Object#OBJECT -- @extends Wrapper.Object#OBJECT
-- @field #string IdentifiableName The name of the identifiable. -- @field #string IdentifiableName The name of the identifiable.

View File

@@ -11,7 +11,7 @@
-- @module Wrapper.Object -- @module Wrapper.Object
-- @image MOOSE.JPG -- @image MOOSE.JPG
---
-- @type OBJECT -- @type OBJECT
-- @extends Core.Base#BASE -- @extends Core.Base#BASE
-- @field #string ObjectName The name of the Object. -- @field #string ObjectName The name of the Object.

View File

@@ -12,6 +12,7 @@
-- @image Wrapper_Static.JPG -- @image Wrapper_Static.JPG
---
-- @type STATIC -- @type STATIC
-- @extends Wrapper.Positionable#POSITIONABLE -- @extends Wrapper.Positionable#POSITIONABLE