From 892b9732751b64c2016ba476801e1fe4ed4e750f Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sat, 16 Sep 2017 20:48:19 +0500 Subject: 2017-09-16 --- src/Window.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/Window.hpp') diff --git a/src/Window.hpp b/src/Window.hpp index 4dae294..a6bccd9 100644 --- a/src/Window.hpp +++ b/src/Window.hpp @@ -8,13 +8,17 @@ struct Window { unsigned char WindowId = 0; std::string type; - + SlotData handSlot; + const short HandSlotId = -1; std::vector slots; short actions = 1; - void MakeClick(short ClickedSlot, bool Lmb); + void MakeClick(short ClickedSlot, bool Lmb, bool dropMode = false); std::queue pendingTransactions; + std::vector>> transactions; + + void ConfirmTransaction(PacketConfirmTransactionCB packet); }; \ No newline at end of file -- cgit v1.2.3