summaryrefslogtreecommitdiffstats
path: root/Server
diff options
context:
space:
mode:
authorLane Kolbly <lane@rscheme.org>2017-07-07 05:27:04 +0200
committerLukas Pioch <lukas@zgow.de>2017-07-10 05:46:04 +0200
commita561886bf39ef49bcf6ea5488be833bd23e2edef (patch)
tree4fc7f3e0f68f3c7a07bbb0eaf8954482a360ac4d /Server
parentcItemGrid bounds check (#3837) (diff)
downloadcuberite-a561886bf39ef49bcf6ea5488be833bd23e2edef.tar
cuberite-a561886bf39ef49bcf6ea5488be833bd23e2edef.tar.gz
cuberite-a561886bf39ef49bcf6ea5488be833bd23e2edef.tar.bz2
cuberite-a561886bf39ef49bcf6ea5488be833bd23e2edef.tar.lz
cuberite-a561886bf39ef49bcf6ea5488be833bd23e2edef.tar.xz
cuberite-a561886bf39ef49bcf6ea5488be833bd23e2edef.tar.zst
cuberite-a561886bf39ef49bcf6ea5488be833bd23e2edef.zip
Diffstat (limited to 'Server')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index cdd724b14..ce0390947 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -9503,6 +9503,16 @@ a_Player:OpenWindow(Window);
},
Notes = "Returns the full color code to be used for this player's messages (based on their rank). Prefix player messages with this code.",
},
+ GetDraggingItem =
+ {
+ Returns =
+ {
+ {
+ Type = "cItem",
+ },
+ },
+ Notes = "Returns the item the player is dragging in a UI window."
+ },
GetPrefix =
{
Returns =
@@ -10340,6 +10350,17 @@ a_Player:OpenWindow(Window);
},
Notes = "Sets the custom name for this player. If you want to disable the custom name, simply set an empty string. The custom name will be used in the tab-list, in the player nametag and in the tab-completion.",
},
+ SetDraggingItem =
+ {
+ Params =
+ {
+ {
+ Name = "Item",
+ Type = "cItem",
+ },
+ },
+ Notes = "Sets the item that the player is dragging in a UI window. If no UI window is open, this function does nothing."
+ },
SetFlying =
{
Params =