summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/APIDesc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Server/Plugins/APIDump/APIDesc.lua')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua18
1 files changed, 15 insertions, 3 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index 6cfcb9c15..f1346ffee 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -11377,6 +11377,12 @@ a_Player:OpenWindow(Window);
Type = "function",
},
},
+ Returns =
+ {
+ {
+ Type = "boolean",
+ },
+ },
Notes = "Calls the given callback function for each player. The callback function has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cPlayer|cPlayer}})</pre>",
},
ForEachWorld =
@@ -11388,7 +11394,13 @@ a_Player:OpenWindow(Window);
Type = "function",
},
},
- Notes = "Calls the given callback function for each world. The callback function has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cWorld|cWorld}})</pre>",
+ Returns =
+ {
+ {
+ Type = "boolean",
+ },
+ },
+ Notes = "Calls the given callback function for each world. The callback function has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cWorld|cWorld}})</pre>. Returns false if a callback aborts, otherwise true.",
},
Get =
{
@@ -12521,7 +12533,7 @@ local CompressedString = cStringCompression.CompressStringGZIP("DataToCompress")
},
{
Name = "Port",
- Type = "string",
+ Type = "number",
},
{
Name = "Path",
@@ -12564,7 +12576,7 @@ local CompressedString = cStringCompression.CompressStringGZIP("DataToCompress")
},
{
Name = "Port",
- Type = "string",
+ Type = "number",
},
},
Notes = "Parses the Authority part of the URL. Parts that are not explicitly specified in the AuthPart are returned empty, the port is returned zero. If parsing fails, the function returns nil and an error message.",