summaryrefslogblamecommitdiffstats
path: root/src/Window.hpp
blob: 4dae294e12b43eccc4111a157121651967a32d1b (plain) (tree)



















                                                      
#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;
};