From cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Sat, 2 Nov 2024 21:27:47 +0000 Subject: Apply new clang-formatting --- src/UI/ChestWindow.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/UI/ChestWindow.h') 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; }; - - - - -- cgit v1.2.3