From dcd030c6ed41e080846d1d50cf82e1055ae48edd Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Fri, 15 Sep 2017 20:46:56 +0500 Subject: 2017-09-15 --- src/Window.hpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/Window.hpp (limited to 'src/Window.hpp') diff --git a/src/Window.hpp b/src/Window.hpp new file mode 100644 index 0000000..4dae294 --- /dev/null +++ b/src/Window.hpp @@ -0,0 +1,20 @@ +#pragma once + +#include +#include + +#include "Packet.hpp" + +struct Window { + unsigned char WindowId = 0; + std::string type; + + SlotData handSlot; + std::vector slots; + + short actions = 1; + + void MakeClick(short ClickedSlot, bool Lmb); + + std::queue pendingTransactions; +}; \ No newline at end of file -- cgit v1.2.3