mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Add minetest.get_server_uptime() function to Lua API (#4702)
Add minetest.get_server_uptime() function to Lua API
This commit is contained in:
parent
7607b0ac20
commit
bf315c05f1
4 changed files with 15 additions and 0 deletions
|
@ -30,6 +30,9 @@ private:
|
|||
// get_server_status()
|
||||
static int l_get_server_status(lua_State *L);
|
||||
|
||||
// get_server_uptime()
|
||||
static int l_get_server_uptime(lua_State *L);
|
||||
|
||||
// get_worldpath()
|
||||
static int l_get_worldpath(lua_State *L);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue