#pragma once #include #include "Packet.hpp" struct Window { unsigned char WindowId = 0; std::string type; SlotDataType handSlot; const short HandSlotId = -1; std::vector slots; short actions = 1; void MakeClick(short ClickedSlot, bool Lmb, bool dropMode = false); std::queue pendingTransactions; std::vector>> transactions; void ConfirmTransaction(PacketConfirmTransactionCB packet); };