summaryrefslogtreecommitdiffstats
path: root/src/UI/SlotArea.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-05-04 11:11:07 +0200
committerHowaner <franzi.moos@googlemail.com>2014-05-05 17:34:35 +0200
commitecc62dbb9c8d7fcce7e385285ff701a002462137 (patch)
tree88350e38daf5b7ba6de53de9fe8427186c6e84b6 /src/UI/SlotArea.h
parentThis isn't a enchantment table :D (diff)
downloadcuberite-ecc62dbb9c8d7fcce7e385285ff701a002462137.tar
cuberite-ecc62dbb9c8d7fcce7e385285ff701a002462137.tar.gz
cuberite-ecc62dbb9c8d7fcce7e385285ff701a002462137.tar.bz2
cuberite-ecc62dbb9c8d7fcce7e385285ff701a002462137.tar.lz
cuberite-ecc62dbb9c8d7fcce7e385285ff701a002462137.tar.xz
cuberite-ecc62dbb9c8d7fcce7e385285ff701a002462137.tar.zst
cuberite-ecc62dbb9c8d7fcce7e385285ff701a002462137.zip
Diffstat (limited to '')
-rw-r--r--src/UI/SlotArea.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/UI/SlotArea.h b/src/UI/SlotArea.h
index 4f273ec65..e7a2acd47 100644
--- a/src/UI/SlotArea.h
+++ b/src/UI/SlotArea.h
@@ -270,13 +270,15 @@ public:
// cSlotArea overrides:
virtual void Clicked(cPlayer & a_Player, int a_SlotNum, eClickAction a_ClickAction, const cItem & a_ClickedItem) override;
+ virtual void ShiftClicked(cPlayer & a_Player, int a_SlotNum, const cItem & a_ClickedItem) override;
+ virtual void DistributeStack(cItem & a_ItemStack, cPlayer & a_Player, bool a_ShouldApply, bool a_KeepEmptySlots) override;
// cSlotAreaTemporary overrides:
virtual void OnPlayerRemoved(cPlayer & a_Player) override;
bool CanTakeResultItem(cPlayer & a_Player);
- void OnTakeResult(cPlayer & a_Player, cItem a_ResultItem);
+ void OnTakeResult(cPlayer & a_Player);
/** Handles a click in the item slot. */
void UpdateResult(cPlayer & a_Player);