![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Static Protected Member Functions | |
| static string | ReturnTimeTypeString (int prevTimeTypeAmount, int currentTimeTypeAmount, int numberLength) |
| static string | GetTimeFormatting (int totalSeconds, ETimeFormatParam hideEmpty=0, ETimeFormatParam hideLeadingZeroes=0) |
| static string | GetTimeFormattingHideSeconds (int totalSeconds, ETimeFormatParam hideEmpty=0, ETimeFormatParam hideLeadingZeroes=0) |
| static string | GetTimeFormattingHoursMinutes (int hours, int minutes, ETimeFormatParam hideEmpty=0, ETimeFormatParam hideLeadingZeroes=0) |
| static string | GetTimeFormattingMinutesSeconds (int minutes, int seconds, ETimeFormatParam hideEmpty=0, ETimeFormatParam hideLeadingZeroes=0) |
| static string | GetTimeSinceEventString (int amount, string oneUnit, string manyUnits) |
| static string | GetTimeSinceEventImprecise (int timeDiffSeconds) |
| static string | FormatFrequencies (notnull set< int > frequencies, set< int > highlightFrequencies=null) |
Definition at line 1 of file SCR_FormatHelper.c.
|
inlinestaticprotected |
Format the list of frequencies as single-line text.
| [in] | frequencies | List of frequencies |
Definition at line 274 of file SCR_FormatHelper.c.
|
inlinestaticprotected |
Combines GetTimeFormatting() and SCR_DateTimeHelper.GetDayHourMinuteSecondFromSeconds() It is possible to hide a time varriable like days using the hide bool when it is 0 or less Usage: SCR_FormatHelper.GetTimeFormatting(totalSeconds, ETimeFormatParam.DAYS | ETimeFormatParam.HOURS, ETimeFormatParam.MINUTES). Hide Days and Hours if 0, Never show leading 0 for minutes
| [in] | totalSeconds | Int total amount of seconds to be converted to dd:hh:mm:ss |
| [in] | hideEmpty | flag time that needs to be hidden if zero (Example: ETimeFormatParam.DAYS hides days if 0 or less) |
| [in] | hideLeadingZeroes | flag that hides leading zero for Hours, Minutes and Seconds (Example: ETimeFormatParam.HOURS displays h:mm:ss instead of hh:mm:ss) |
Definition at line 191 of file SCR_FormatHelper.c.
|
inlinestaticprotected |
Combines GetTimeFormatting() and SCR_DateTimeHelper.GetDayHourMinuteSecondFromSeconds() while hiding seconds It is possible to hide a time varriable like days using the hide bool when it is 0 or less Usage: SCR_FormatHelper.GetTimeFormatting(totalSeconds, ETimeFormatParam.DAYS | ETimeFormatParam.HOURS, ETimeFormatParam.MINUTES). Hide Days and Hours if 0, Never show leading 0 for minutes
| [in] | totalSeconds | Int total amount of seconds to be converted to dd:hh:mm |
| [in] | hideEmpty | flag time that needs to be hidden if zero (Example: ETimeFormatParam.DAYS hides days if 0 or less) |
| [in] | hideLeadingZeroes | flag that hides leading zero for Hours, Minutes and Seconds (Example: ETimeFormatParam.HOURS displays h:mm instead of hh:mm) |
Definition at line 206 of file SCR_FormatHelper.c.
|
inlinestaticprotected |
Returns a variant of hh:mm and h:m
| [in] | hours | Int amount of hours |
| [in] | minutes | Int amount of minutes |
| [in] | hideEmpty | flag time that needs to be hidden if zero (Example: ETimeFormatParam.HOURS hides hours if 0 or less) |
| [in] | hideLeadingZeroes | flag that hides leading zero (Example: ETimeFormatParam.HOURS displays h:mm instead of hh:mm) |
Definition at line 220 of file SCR_FormatHelper.c.
|
inlinestaticprotected |
Returns a variant of mm:ss and m:s
| [in] | minutes | Int amount of minutes |
| [in] | seconds | Int amount of seconds |
| [in] | hideEmpty | flag time that needs to be hidden if zero (Example: ETimeFormatParam.MINUTES hides minutes if 0 or less) |
| [in] | hideLeadingZeroes | flag that hides leading zero (Example: ETimeFormatParam.MINUTES displays m:ss instead of mm:ss) |
Definition at line 232 of file SCR_FormatHelper.c.
| [in] | timeDiffSeconds |
Definition at line 254 of file SCR_FormatHelper.c.
|
inlinestaticprotected |
Helps with time formatting - returns "0 minutes", "3 minutes", but "1 minute".
| [in] | amount | |
| [in] | oneUnit | |
| [in] | manyUnits |
Definition at line 242 of file SCR_FormatHelper.c.
|
inlinestaticprotected |
Always have number length 1 then check if ETimeFormatParam (for example) SECONDS is given is true (aka 1) or not (aka 0)
| [in] | prevTimeTypeAmount | |
| [in] | currentTimeTypeAmount | |
| [in] | numberLength | checks if should have leading zero |
Definition at line 175 of file SCR_FormatHelper.c.