R.2.1 update

This commit is contained in:
FlightControl
2017-04-25 21:44:34 +02:00
parent 1219ee9445
commit 664ce52ff0
3 changed files with 19 additions and 19 deletions

View File

@@ -31,7 +31,7 @@ end
-- @param #REPORT self
-- @param #number Indent
-- @return #REPORT
function REPORT:SetIndent( Indent )
function REPORT:SetIndent( Indent ) --R2.1
self.Indent = Indent
return self
end
@@ -50,7 +50,7 @@ end
-- @param #REPORT self
-- @param #string Text
-- @return #REPORT
function REPORT:AddIndent( Text )
function REPORT:AddIndent( Text ) --R2.1
self.Report[#self.Report+1] = string.rep(" ", self.Indent ) .. Text:gsub("\n","\n"..string.rep( " ", self.Indent ) )
return self
end

View File

@@ -542,7 +542,7 @@ end
-- @param #TASK self
-- @param #number MenuTime
-- @return #TASK
function TASK:SetMenu( MenuTime )
function TASK:SetMenu( MenuTime ) --R2.1 Mission Reports and Task Reports added. Fixes issue #424.
self:F()
self.SetGroup:Flush()
@@ -1153,7 +1153,7 @@ do -- Reporting
-- List the Task Name and Status
-- @param #TASK self
-- @return #string
function TASK:ReportSummary()
function TASK:ReportSummary() --R2.1 fixed report. Now nicely formatted and contains the info required.
local Report = REPORT:New()
@@ -1172,7 +1172,7 @@ end
-- List the Task Name and Status
-- @param #TASK self
-- @return #string
function TASK:ReportOverview()
function TASK:ReportOverview() --R2.1 fixed report. Now nicely formatted and contains the info required.
local Report = REPORT:New()
@@ -1194,7 +1194,7 @@ end
-- List the Task Status, and the Players assigned to the Task.
-- @param #TASK self
-- @return #string
function TASK:ReportDetails()
function TASK:ReportDetails() --R2.1 fixed report. Now nicely formatted and contains the info required.
local Report = REPORT:New():SetIndent( 3 )