- [NEW] sys.dir() ara torna un array de entrades amb nom i si es directori
This commit is contained in:
@@ -416,9 +416,16 @@ function sys.beat(bts) end
|
||||
function sys.update(mode, ms) end
|
||||
|
||||
---@return table
|
||||
---Gets a table with the name of each file in the data directory
|
||||
---Gets a table in which each entry has a field "name" with the name and a field "dir" with a
|
||||
---boolean specifying if it's a directory, for each file in the 'data' directory
|
||||
function sys.dir() end
|
||||
|
||||
---@param path string
|
||||
---@return table
|
||||
---Gets a table in which each entry has a field "name" with the name and a field "dir" with a
|
||||
---boolean specifying if it's a directory, for each file in the specified path
|
||||
function sys.dir(path) end
|
||||
|
||||
---Exit the game
|
||||
function sys.quit() end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user