summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-09-19 11:25:23 +0200
committerMattes D <github@xoft.cz>2016-09-19 11:25:23 +0200
commit815acd56ac93990d78dde653c248c48d31476aeb (patch)
treee42ee123a25c1a5d7accc6cc89431d69e4bdf7ec /Server/Plugins/APIDump
parentAPIDump: Replaced "callback" type with "function". (diff)
downloadcuberite-815acd56ac93990d78dde653c248c48d31476aeb.tar
cuberite-815acd56ac93990d78dde653c248c48d31476aeb.tar.gz
cuberite-815acd56ac93990d78dde653c248c48d31476aeb.tar.bz2
cuberite-815acd56ac93990d78dde653c248c48d31476aeb.tar.lz
cuberite-815acd56ac93990d78dde653c248c48d31476aeb.tar.xz
cuberite-815acd56ac93990d78dde653c248c48d31476aeb.tar.zst
cuberite-815acd56ac93990d78dde653c248c48d31476aeb.zip
Diffstat (limited to 'Server/Plugins/APIDump')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua15
1 files changed, 6 insertions, 9 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index d7644c6c1..b9b87ebbc 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -6284,11 +6284,10 @@ cFile:DeleteFile("/usr/bin/virus.exe");
Returns =
{
{
- Name = "array table of strings",
- Type = "string",
+ Type = "table",
},
},
- Notes = "Returns the contents of the specified folder, as an array table of strings. Each filesystem object is listed. Use the IsFile() and IsFolder() functions to determine the object type.",
+ Notes = "Returns the contents of the specified folder, as an array table of strings. Each filesystem object is listed. Use the IsFile() and IsFolder() functions to determine the object type. Note that \".\" and \"..\" are NOT returned. The order of the names is arbitrary (as returned by OS, no sorting).",
},
GetLastModificationTime =
{
@@ -11236,11 +11235,10 @@ a_Player:OpenWindow(Window);
Returns =
{
{
- Name = "array-table of strings",
- Type = "string",
+ Type = "table",
},
},
- Notes = "Returns the list of all permissions that the player has assigned to them through their rank.",
+ Notes = "Returns an array-table of all permissions (strings) that the player has assigned to them through their rank.",
},
GetPlayerListName =
{
@@ -11257,11 +11255,10 @@ a_Player:OpenWindow(Window);
Returns =
{
{
- Name = "array-table of string",
- Type = "string",
+ Type = "table",
},
},
- Notes = "Returns all the player's permissions, as a table. The permissions are stored in the array part of the table, beginning with index 1.",
+ Notes = "Returns all the player's permissions, as an array-table of strings.",
},
GetSprintingMaxSpeed =
{