summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/APIDesc.lua
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2017-04-16 11:41:40 +0200
committerLukas Pioch <lukas@zgow.de>2017-04-22 09:29:13 +0200
commit76bf5d770c4a34ca34b14eef15ab76e4215f1521 (patch)
treed2c3da3a4197398772600b9edf7102f0b9c17ebd /Server/Plugins/APIDump/APIDesc.lua
parentAPIDoc: Corrected a few links (diff)
downloadcuberite-76bf5d770c4a34ca34b14eef15ab76e4215f1521.tar
cuberite-76bf5d770c4a34ca34b14eef15ab76e4215f1521.tar.gz
cuberite-76bf5d770c4a34ca34b14eef15ab76e4215f1521.tar.bz2
cuberite-76bf5d770c4a34ca34b14eef15ab76e4215f1521.tar.lz
cuberite-76bf5d770c4a34ca34b14eef15ab76e4215f1521.tar.xz
cuberite-76bf5d770c4a34ca34b14eef15ab76e4215f1521.tar.zst
cuberite-76bf5d770c4a34ca34b14eef15ab76e4215f1521.zip
Diffstat (limited to 'Server/Plugins/APIDump/APIDesc.lua')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index 9c017579c..b97d2363c 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -10074,7 +10074,7 @@ a_Player:OpenWindow(Window);
Type = "boolean",
},
},
- Notes = "If a map with the specified ID exists, calls the CallbackFunction for that map. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cMap|Map}})</pre> Returns true if the map was found and the callback called, false if map not found.",
+ Notes = "If a map with the specified ID exists, calls the CallbackFunction for that map. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cMap|Map}})</pre> Returns true if the map was found and the callback called, false if map not found. Note: If an error occurs in the callback, this function returns true.",
},
GetNumMaps =
{
@@ -12433,7 +12433,7 @@ a_Player:OpenWindow(Window);
Type = "boolean",
},
},
- Notes = "If there is the player with the uuid, calls the CallbackFunction with the {{cPlayer}} parameter representing the player. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cPlayer|Player}})</pre> The function returns false if the player was not found, or whatever bool value the callback returned if the player was found.",
+ Notes = "If there is the player with the uuid, calls the CallbackFunction with the {{cPlayer}} parameter representing the player. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cPlayer|Player}})</pre> The function returns false if the player was not found, or whatever bool value the callback returned if the player was found. Note: If an error occurs in the callback, this function returns true.",
},
FindAndDoWithPlayer =
{
@@ -12454,7 +12454,7 @@ a_Player:OpenWindow(Window);
Type = "boolean",
},
},
- Notes = "Calls the given callback function for the player with the name best matching the name string provided.<br>This function is case-insensitive and will match partial names.<br>Returns false if player not found or there is ambiguity, true otherwise. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cPlayer|Player}})</pre>",
+ Notes = "Calls the given callback function for the player with the name best matching the name string provided.<br>This function is case-insensitive and will match partial names.<br>Returns false if player not found or there is ambiguity, true otherwise. The CallbackFunction has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cPlayer|Player}})</pre>Note: If an error occurs in the callback, this function returns true.",
},
ForEachPlayer =
{
@@ -12465,7 +12465,7 @@ a_Player:OpenWindow(Window);
Type = "function",
},
},
- 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>",
+ Notes = "Calls the given callback function for each player. Returns true if all the players have been processed (including when there are zero players), or false if the callback function has aborted the enumeration by returning true. The callback function has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cPlayer|cPlayer}})</pre>Note: If an error occurs in the callback, this function returns false.",
},
ForEachWorld =
{
@@ -12476,7 +12476,7 @@ 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>",
+ Notes = "Calls the given callback function for each world. Returns true if all worlds have been processed , or false if the callback function has aborted the enumeration by returning true.The callback function has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cWorld|cWorld}})</pre>Note: If an error occurs in the callback, this function returns false.",
},
Get =
{
@@ -12831,7 +12831,7 @@ end
Type = "boolean",
},
},
- Notes = "Calls the specified callback for each objective in the scoreboard. Returns true if all objectives have been processed (including when there are zero objectives), or false if the callback function has aborted the enumeration by returning true. The callback function has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cObjective|Objective}})</pre> The callback should return false or no value to continue with the next objective, or true to abort the enumeration.",
+ Notes = "Calls the specified callback for each objective in the scoreboard. Returns true if all objectives have been processed (including when there are zero objectives), or false if the callback function has aborted the enumeration by returning true. The callback function has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cObjective|Objective}})</pre> The callback should return false or no value to continue with the next objective, or true to abort the enumeration. Note: If an error occurs in the callback, this function returns false.",
},
ForEachTeam =
{
@@ -12848,7 +12848,7 @@ end
Type = "boolean",
},
},
- Notes = "Calls the specified callback for each team in the scoreboard. Returns true if all teams have been processed (including when there are zero teams), or false if the callback function has aborted the enumeration by returning true. The callback function has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cObjective|Objective}})</pre> The callback should return false or no value to continue with the next team, or true to abort the enumeration.",
+ Notes = "Calls the specified callback for each team in the scoreboard. Returns true if all teams have been processed (including when there are zero teams), or false if the callback function has aborted the enumeration by returning true. The callback function has the following signature: <pre class=\"prettyprint lang-lua\">function Callback({{cObjective|Objective}})</pre> The callback should return false or no value to continue with the next team, or true to abort the enumeration. Note: If an error occurs in the callback, this function returns false.",
},
GetNumObjectives =
{