Documentation + Fixing bugs in CleanUp class related to client bug in 1.5.3

This commit is contained in:
svenvandevelde
2016-03-16 22:07:08 +01:00
parent 1a530ad9ba
commit 4f315022b4
27 changed files with 433 additions and 401 deletions

View File

@@ -1,10 +1,11 @@
--- Encapsulation of DCS World Menu system in a set of MENU classes.
-- @classmod MENU
-- @module MENU
Include.File( "Routines" )
Include.File( "Base" )
--- The MENU class
-- @type
MENU = {
ClassName = "MENU",
MenuPath = nil,
@@ -24,6 +25,8 @@ function MENU:New( MenuText, MenuParentPath )
return Child
end
--- The COMMANDMENU class
-- @type
COMMANDMENU = {
ClassName = "COMMANDMENU",
CommandMenuFunction = nil,
@@ -47,8 +50,8 @@ function COMMANDMENU:New( MenuText, ParentMenu, CommandMenuFunction, CommandMenu
return Child
end
---
--- The SUBMENU class
-- @type
SUBMENU = {
ClassName = "SUBMENU"
}
@@ -67,6 +70,8 @@ function SUBMENU:New( MenuText, ParentMenu )
return Child
end
--- The MENU_SUB_GROUP class
-- @type
MENU_SUB_GROUP = {
ClassName = "MENU_SUB_GROUP"
}
@@ -85,6 +90,8 @@ function MENU_SUB_GROUP:New( GroupID, MenuText, ParentMenu )
return self
end
--- The MENU_COMMAND_GROUP class
-- @type
MENU_COMMAND_GROUP = {
ClassName = "MENU_COMMAND_GROUP"
}