From 71d71410fdeb4b47e543758186cdbee19a2baf6b Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 8 Jan 2013 05:01:06 +0000 Subject: Fixed rclk in doublechests FS #284 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1127 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/UI/SlotArea.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'source/UI/SlotArea.h') diff --git a/source/UI/SlotArea.h b/source/UI/SlotArea.h index 50c7e0c28..fff9f46cc 100644 --- a/source/UI/SlotArea.h +++ b/source/UI/SlotArea.h @@ -232,6 +232,24 @@ protected: +class cSlotAreaDoubleChest : + public cSlotArea +{ +public: + cSlotAreaDoubleChest(cChestEntity * a_TopChest, cChestEntity * a_BottomChest, cWindow & a_ParentWindow); + + virtual const cItem * GetSlot(int a_SlotNum, cPlayer & a_Player) override; + virtual void SetSlot(int a_SlotNum, cPlayer & a_Player, const cItem & a_Item) override; + +protected: + cChestEntity * m_TopChest; + cChestEntity * m_BottomChest; +} ; + + + + + class cSlotAreaDispenser : public cSlotArea { -- cgit v1.2.3