LuaBox
Loading...
Searching...
No Matches
ScriptMillis.h File Reference
#include "lua_include.h"
#include "global.h"

Go to the source code of this file.

Functions

int ScriptMillis (lua_State *L_)
 Get the time in milliseconds since the script started running.
void reset_script_time ()

Function Documentation

◆ reset_script_time()

void reset_script_time ( )

◆ ScriptMillis()

int ScriptMillis ( lua_State * L_)

Get the time in milliseconds since the script started running.

Parameters
L_Lua state.
Returns
int Pushes 1 integer to Lua stack: milliseconds since script start.