1
0

Added missing return types and fixed param types (#4996)

This commit is contained in:
Lukas Pioch
2020-10-13 22:59:11 +02:00
committed by GitHub
parent 9419c78609
commit aee4778bf7
3 changed files with 41 additions and 34 deletions

View File

@@ -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.",