summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-05-05 15:45:03 +0200
committerHowaner <franzi.moos@googlemail.com>2014-05-05 17:34:41 +0200
commitc162d69e7bb48221b9eacbd378b41129cfb35ebd (patch)
tree7f631c370acc9636e90fac4481822d8b417919d5 /src
parentChanged HandleAnvilItemName() length to size_t in ClientHandle.h (diff)
downloadcuberite-c162d69e7bb48221b9eacbd378b41129cfb35ebd.tar
cuberite-c162d69e7bb48221b9eacbd378b41129cfb35ebd.tar.gz
cuberite-c162d69e7bb48221b9eacbd378b41129cfb35ebd.tar.bz2
cuberite-c162d69e7bb48221b9eacbd378b41129cfb35ebd.tar.lz
cuberite-c162d69e7bb48221b9eacbd378b41129cfb35ebd.tar.xz
cuberite-c162d69e7bb48221b9eacbd378b41129cfb35ebd.tar.zst
cuberite-c162d69e7bb48221b9eacbd378b41129cfb35ebd.zip
Diffstat (limited to '')
-rw-r--r--src/UI/SlotArea.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/UI/SlotArea.h b/src/UI/SlotArea.h
index e7a2acd47..4da6a672f 100644
--- a/src/UI/SlotArea.h
+++ b/src/UI/SlotArea.h
@@ -276,8 +276,10 @@ public:
// cSlotAreaTemporary overrides:
virtual void OnPlayerRemoved(cPlayer & a_Player) override;
+ /** Can the player take the item from the slot? */
bool CanTakeResultItem(cPlayer & a_Player);
+ /** This function will call, when the player take the item from the slot. */
void OnTakeResult(cPlayer & a_Player);
/** Handles a click in the item slot. */