Added missing return types and fixed param types (#4996)
This commit is contained in:
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user