You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 29, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: doc_classes/LuaAPI.xml
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,7 @@
4
4
Execute Lua code at runtime and make your own API.
5
5
</brief_description>
6
6
<description>
7
-
TODO
8
-
</description>
7
+
This class represents a lua state and allows you to interact with lua at runtime. You can load files and strings code. Push Callable's as lua functions. And push any Variant as a lua variable.
Copy file name to clipboardExpand all lines: doc_classes/LuaCallableExtra.xml
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -4,19 +4,19 @@
4
4
A tuple.
5
5
</brief_description>
6
6
<description>
7
-
TODO
7
+
This is a simple wrapper class to let LuaAPI know you want a little extra info. It is used to request references to the LuaAPI object as an argument and specifie your last argument is a tuple.
Call the function with a reference to the LuaAPI object as the first argument and a tuple as the last argument. Argc is the TOTAL number of arguments excluding the tuple.
Copy file name to clipboardExpand all lines: doc_classes/LuaCoroutine.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@
48
48
<returntype="Variant" />
49
49
<paramindex="0"name="Args"type="Array" />
50
50
<description>
51
-
Resumes or starts the coroutine. Will either return a Array of arguments passed by lua in yield() or a LuaError. Arguments are passed to yield() in lua.
51
+
Resumes or starts the coroutine. Will either return a Array of arguments passed by lua in yield() or a LuaError. Arguments are passed to yield() in lua. This is a blocking call, it will not return until the coroutine has yielded or finished.
LuaError contains a error message and type. If a LuaError is ever pushed to the stack it will raise a error in the lua state. Meaning if a exposed GD function returns a lua error. That will raise a error.
A wrapper for an Array, this type indicates to LuaAPI that the array should be unpacked and trated as multiple arguments. This is useful for functions that take or a variable number of arguments. Or return more than one value.
0 commit comments