summaryrefslogtreecommitdiffstats
path: root/src/UI/SlotArea.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-02-28 16:26:23 +0100
committermadmaxoft <github@xoft.cz>2014-02-28 16:26:23 +0100
commit182646188448f9fd8df0b4c0391a2db04575c49d (patch)
treeb823a35f67ab8d5b0f32bb4beea6710667332425 /src/UI/SlotArea.cpp
parentDocumented the changes in cJukeboxEntity. (diff)
downloadcuberite-182646188448f9fd8df0b4c0391a2db04575c49d.tar
cuberite-182646188448f9fd8df0b4c0391a2db04575c49d.tar.gz
cuberite-182646188448f9fd8df0b4c0391a2db04575c49d.tar.bz2
cuberite-182646188448f9fd8df0b4c0391a2db04575c49d.tar.lz
cuberite-182646188448f9fd8df0b4c0391a2db04575c49d.tar.xz
cuberite-182646188448f9fd8df0b4c0391a2db04575c49d.tar.zst
cuberite-182646188448f9fd8df0b4c0391a2db04575c49d.zip
Diffstat (limited to 'src/UI/SlotArea.cpp')
-rw-r--r--src/UI/SlotArea.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/UI/SlotArea.cpp b/src/UI/SlotArea.cpp
index bfcad3d92..88977e005 100644
--- a/src/UI/SlotArea.cpp
+++ b/src/UI/SlotArea.cpp
@@ -224,6 +224,24 @@ void cSlotArea::DblClicked(cPlayer & a_Player, int a_SlotNum)
+void cSlotArea::OnPlayerAdded(cPlayer & a_Player)
+{
+ UNUSED(a_Player);
+}
+
+
+
+
+
+void cSlotArea::OnPlayerRemoved(cPlayer & a_Player)
+{
+ UNUSED(a_Player);
+}
+
+
+
+
+
void cSlotArea::DistributeStack(cItem & a_ItemStack, cPlayer & a_Player, bool a_Apply, bool a_KeepEmptySlots)
{
for (int i = 0; i < m_NumSlots; i++)
@@ -447,6 +465,18 @@ void cSlotAreaCrafting::OnPlayerRemoved(cPlayer & a_Player)
+
+void cSlotAreaCrafting::DistributeStack(cItem & a_ItemStack, cPlayer & a_Player, bool a_ShouldApply, bool a_KeepEmptySlots)
+{
+ UNUSED(a_ItemStack);
+ UNUSED(a_Player);
+ UNUSED(a_ShouldApply);
+ UNUSED(a_KeepEmptySlots);
+}
+
+
+
+
void cSlotAreaCrafting::ClickedResult(cPlayer & a_Player)
{
cItem & DraggingItem = a_Player.GetDraggingItem();