summaryrefslogtreecommitdiffstats
path: root/src/UI/ChestWindow.h
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
committerAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
commitcb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a (patch)
treef647b20e1823f1846af88e832cf82a4a02e96e69 /src/UI/ChestWindow.h
parentImprove clang-format config file, remove automatically enforced code style from contrib guide. (diff)
downloadcuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.gz
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.bz2
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.lz
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.xz
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.zst
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.zip
Diffstat (limited to 'src/UI/ChestWindow.h')
-rw-r--r--src/UI/ChestWindow.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/UI/ChestWindow.h b/src/UI/ChestWindow.h
index 18f330519..fb45f12da 100644
--- a/src/UI/ChestWindow.h
+++ b/src/UI/ChestWindow.h
@@ -15,13 +15,11 @@
-class cChestWindow:
- public cWindow
+class cChestWindow : public cWindow
{
using Super = cWindow;
-public:
-
+ public:
cChestWindow(cChestEntity * a_Chest);
cChestWindow(cChestEntity * a_PrimaryChest, cChestEntity * a_SecondaryChest);
@@ -32,15 +30,17 @@ public:
virtual void OpenedByPlayer(cPlayer & a_Player) override;
- virtual void DistributeStack(cItem & a_ItemStack, int a_Slot, cPlayer & a_Player, cSlotArea * a_ClickedArea, bool a_ShouldApply) override;
+ virtual void DistributeStack(
+ cItem & a_ItemStack,
+ int a_Slot,
+ cPlayer & a_Player,
+ cSlotArea * a_ClickedArea,
+ bool a_ShouldApply
+ ) override;
-protected:
+ protected:
cWorld * m_World;
Vector3i m_BlockPos; // Position of the chest, for the window-close packet
cChestEntity * m_PrimaryChest;
cChestEntity * m_SecondaryChest;
};
-
-
-
-