This repository has been archived on 2024-05-15. You can view files and clone it, but cannot push or open issues or pull requests.
fugg/fugg-client/src/Packet.h

24 lines
494 B
C++

//
// Created by main on 24-10-22.
//
#ifndef FUGG_PACKET_H
#define FUGG_PACKET_H
namespace fugg {
struct Packet {
uint32_t id;
};
struct PacketMoveItemInInventory : Packet {
uint32_t from_slot;
uint32_t to_slot;
PacketMoveItemInInventory(uint32_t from_slot, uint32_t to_slot) : Packet{0x2001},
from_slot(from_slot), to_slot(to_slot) {}
};
};
#endif //FUGG_PACKET_H