Files
LuaCsForBarotraumaEP/luacs-docs/lua/lua/Timer.lua
peelz 1bb7843811 Move docs to luacs-docs/{lua,cs,landing-page}
luacs-docs/cs also has a proper http server for testing locally
2022-08-10 05:36:16 -04:00

26 lines
514 B
Lua

-- luacheck: ignore 111
--[[--
Class providing timing related things.
]]
-- @code Timer
-- @pragma nostrip
Timer = {}
--- Get time in seconds.
-- @treturn number current time in seconds
-- @realm shared
function Timer.GetTime() end
--- Calls a function after a certain amount of time.
-- @realm shared
function Timer.Wait(func, milliseconds) end
--- Calls a function after a certain amount of time.
-- @realm shared
function Timer.GetUsageMemory() end
--- Same as GetTime()
-- @realm shared
Timer.Time = 0