Move docs to luacs-docs/{lua,cs,landing-page}
luacs-docs/cs also has a proper http server for testing locally
This commit is contained in:
26
luacs-docs/lua/lua/Timer.lua
Normal file
26
luacs-docs/lua/lua/Timer.lua
Normal file
@@ -0,0 +1,26 @@
|
||||
-- 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
|
||||
Reference in New Issue
Block a user