Метод | Описание | |
---|---|---|
AppTime ( LuaState luaState ) : uint |
Returns the total uptime of the current application.
|
|
BatteryPower ( LuaState luaState ) : byte |
Returns the current battery power.
|
|
FlashWindow ( LuaState luaState ) : void |
Flashes the window. Currently works only on Windows platform.
|
|
GetCountry ( LuaState luaState ) : string |
Returns the country code of this computer, determined by the localisation settings of the OS.
|
|
HasFocus ( LuaState luaState ) : bool |
Returns whether or not the game window has focus.
|
|
IsLinux ( LuaState luaState ) : bool |
Returns whether the current OS is Linux.
|
|
IsOSX ( LuaState luaState ) : bool |
Returns whether the current OS is OSX.
|
|
IsWindowed ( LuaState luaState ) : bool |
Returns true if the game is currently running windowed; otherwise false if it is fullscreen.
|
|
IsWindows ( LuaState luaState ) : bool |
Returns whether the current OS is Windows.
|
|
SteamTime ( LuaState luaState ) : uint |
Returns the synchronized steam time. This is the number of seconds since the
|
|
UpTime ( LuaState luaState ) : uint |
Returns the total uptime of operating system.
|
public static AppTime ( LuaState luaState ) : uint | ||
luaState | LuaState | Pointer to lua_State struct. |
Результат | uint |
public static BatteryPower ( LuaState luaState ) : byte | ||
luaState | LuaState | Pointer to lua_State struct. |
Результат | byte |
public static FlashWindow ( LuaState luaState ) : void | ||
luaState | LuaState | Pointer to lua_State struct. |
Результат | void |
public static GetCountry ( LuaState luaState ) : string | ||
luaState | LuaState | Pointer to lua_State struct. |
Результат | string |
public static HasFocus ( LuaState luaState ) : bool | ||
luaState | LuaState | Pointer to lua_State struct. |
Результат | bool |
public static IsLinux ( LuaState luaState ) : bool | ||
luaState | LuaState | Pointer to lua_State struct. |
Результат | bool |
public static IsOSX ( LuaState luaState ) : bool | ||
luaState | LuaState | Pointer to lua_State struct. |
Результат | bool |
public static IsWindowed ( LuaState luaState ) : bool | ||
luaState | LuaState | Pointer to lua_State struct. |
Результат | bool |
public static IsWindows ( LuaState luaState ) : bool | ||
luaState | LuaState | Pointer to lua_State struct. |
Результат | bool |
public static SteamTime ( LuaState luaState ) : uint | ||
luaState | LuaState | Pointer to lua_State struct. |
Результат | uint |
public static UpTime ( LuaState luaState ) : uint | ||
luaState | LuaState | Pointer to lua_State struct. |
Результат | uint |