summaryrefslogtreecommitdiffstats
path: root/src/Window.cpp
blob: fbf9aaafc7de74f026f64dec48467855b4e88e8e (plain) (blame)
1
2
3
4
5
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);
}