1
0

Implemented draggingitem API.

This commit is contained in:
Lane Kolbly
2017-07-06 22:27:04 -05:00
committed by Lukas Pioch
parent b2634bade0
commit a561886bf3
3 changed files with 38 additions and 1 deletions

View File

@@ -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 =