mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Eliminate unnecessary uses of ConsoleFunction
This commit is contained in:
parent
6be736ff85
commit
2bbc716db6
12 changed files with 103 additions and 158 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue