diff options
Diffstat (limited to 'src/Window.cpp')
-rw-r--r-- | src/Window.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Window.cpp b/src/Window.cpp new file mode 100644 index 0000000..fbf9aaa --- /dev/null +++ b/src/Window.cpp @@ -0,0 +1,6 @@ +#include "Window.hpp" + +void Window::MakeClick(short ClickedSlot, bool Lmb) { + PacketClickWindow packet(WindowId, ClickedSlot, Lmb? 0 : 1, actions++, 0, slots[ClickedSlot]); + this->pendingTransactions.push(packet); +}
\ No newline at end of file |