Eliminate unnecessary uses of ConsoleFunction

This commit is contained in:
Lukas Joergensen 2018-04-17 21:41:29 +02:00
parent 6be736ff85
commit 2bbc716db6
12 changed files with 103 additions and 158 deletions

View file

@ -218,8 +218,10 @@ DefineEngineFunction( getRealTime, S32, (), , "()"
return Platform::getRealMilliseconds();
}
ConsoleFunction( getLocalTime, const char *, 1, 1, "Return the current local time as: weekday month day year hour min sec.\n\n"
"Local time is platform defined.")
DefineEngineFunction(getLocalTime, const char*, (),,
"@brief Return the current local time as: weekday month day year hour min sec.\n\n"
"Local time is platform defined."
"@ingroup Platform")
{
Platform::LocalTime lt;
Platform::getLocalTime(lt);