summaryrefslogtreecommitdiff
path: root/server/libs/@lua/debug.lni
diff options
context:
space:
mode:
Diffstat (limited to 'server/libs/@lua/debug.lni')
-rw-r--r--server/libs/@lua/debug.lni269
1 files changed, 269 insertions, 0 deletions
diff --git a/server/libs/@lua/debug.lni b/server/libs/@lua/debug.lni
new file mode 100644
index 00000000..74d50161
--- /dev/null
+++ b/server/libs/@lua/debug.lni
@@ -0,0 +1,269 @@
+[debug]
+type = 'table'
+[[.source]]
+type = 'global'
+``````````
+type = 'library'
+name = 'debug'
+
+<default>
+type = 'function'
+parent = {
+ 1 = {
+ type = 'global',
+ name = 'debug',
+ },
+ 2 = {
+ type = 'library',
+ name = 'debug',
+ }
+}
+
+["debug.debug"]
+name = 'debug'
+
+[getfenv]
+version = 'Lua 5.1'
+[[.args]]
+name = o
+[[.returns]]
+type = table
+
+[gethook]
+[[.args]]
+type = 'thread'
+optional = 'self'
+[[.returns]]
+name = 'hook'
+type = 'function'
+``````````
+name = 'mask'
+type = 'string'
+``````````
+name = 'count'
+type = 'integer'
+
+[getinfo]
+[[.args]]
+type = 'thread'
+optional = 'self'
+``````````
+name = 'f'
+type = {'integer', 'function'}
+``````````
+name = 'what'
+type = 'string'
+optional = 'self'
+[[.returns]]
+name = 'info'
+type = 'table'
+[[.enums]]
+name = 'what'
+enum = 'n'
+``````````
+name = 'what'
+enum = 'S'
+``````````
+name = 'what'
+enum = 'l'
+``````````
+name = 'what'
+enum = 't'
+``````````
+name = 'what'
+enum = 'u'
+``````````
+name = 'what'
+enum = 'f'
+``````````
+name = 'what'
+enum = 'L'
+
+[getlocal]
+[[.args]]
+type = 'thread'
+optional = 'self'
+``````````
+name = 'f'
+type = {'integer', 'function'}
+``````````
+name = 'local'
+type = 'integer'
+
+[getmetatable]
+[[.args]]
+name = 'value'
+[[.returns]]
+name = 'metatable'
+type = 'table'
+
+[getregistry]
+[[.returns]]
+type = 'table'
+
+[getupvalue]
+[[.args]]
+name = 'f'
+type = 'function'
+``````````
+name = 'up'
+type = 'integer'
+[[.returns]]
+name = 'name'
+type = 'string'
+``````````
+name = 'value'
+
+[getuservalue]
+[[.args]]
+name = 'u'
+type = 'userdata'
+[[.returns]]
+
+["getuservalue Lua 5.4"]
+name = 'getuservalue'
+version = 'Lua 5.4'
+[[.args]]
+name = 'u'
+type = 'userdata'
+``````````
+name = 'n'
+type = 'integer'
+[[.returns]]
+type = 'any'
+``````````
+type = 'boolean'
+
+[setfenv]
+version = 'Lua 5.1'
+[[.args]]
+name = 'object'
+``````````
+type = 'table'
+[[.returns]]
+name = 'object'
+
+[sethook]
+[[.args]]
+type = 'thread'
+optional = 'self'
+``````````
+name = 'hook'
+type = 'function'
+``````````
+name = 'mask'
+type = 'string'
+``````````
+name = 'count'
+type = 'integer'
+optional = 'self'
+[[.enums]]
+name = 'mask'
+enum = 'c'
+``````````
+name = 'mask'
+enum = 'r'
+``````````
+name = 'mask'
+enum = 'l'
+
+[setlocal]
+[[.args]]
+type = 'thread'
+optional = 'self'
+``````````
+name = 'level'
+type = 'integer'
+``````````
+name = 'local'
+type = 'integer'
+``````````
+name = 'value'
+[[.returns]]
+name = 'name'
+type = 'string'
+
+[setmetatable]
+[[.args]]
+name = 'value'
+``````````
+type = 'table'
+[[.returns]]
+name = 'value'
+
+[setupvalue]
+[[.args]]
+name = 'f'
+type = 'function'
+``````````
+name = 'up'
+type = 'integer'
+``````````
+name = 'value'
+[[.returns]]
+name = 'name'
+type = 'string'
+
+[setuservalue]
+[[.args]]
+name = 'udata'
+type = 'userdata'
+``````````
+name = 'value'
+[[.returns]]
+name = 'udata'
+type = 'userdata'
+
+["setuservalue Lua 5.4"]
+name = 'setuservalue'
+version = 'Lua 5.4'
+[[.args]]
+name = 'udata'
+type = 'userdata'
+``````````
+name = 'value'
+``````````
+name = 'n'
+type = 'integer'
+[[.returns]]
+name = 'udata'
+type = 'userdata'
+
+[traceback]
+[[.args]]
+type = 'thread'
+optional = 'self'
+``````````
+name = 'message'
+optional = 'after'
+``````````
+name = 'level'
+optional = 'self'
+default = 1
+[[.returns]]
+name = 'message'
+
+[upvalueid]
+[[.args]]
+name = 'f'
+type = 'function'
+``````````
+name = 'n'
+type = 'integer'
+[[.returns]]
+name = 'id'
+type = 'userdata'
+
+[upvaluejoin]
+[[.args]]
+name = 'f1'
+type = 'function'
+``````````
+name = 'n1'
+type = 'integer'
+``````````
+name = 'f2'
+type = 'function'
+``````````
+name = 'n2'
+type = 'integer'