diff options
Diffstat (limited to 'src/Window.hpp')
-rw-r--r-- | src/Window.hpp | 20 |
1 files changed, 20 insertions, 0 deletions
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 <string> +#include <queue> + +#include "Packet.hpp" + +struct Window { + unsigned char WindowId = 0; + std::string type; + + SlotData handSlot; + std::vector<SlotData> slots; + + short actions = 1; + + void MakeClick(short ClickedSlot, bool Lmb); + + std::queue<PacketClickWindow> pendingTransactions; +};
\ No newline at end of file |