Botcraft 1.21.5
Loading...
Searching...
No Matches
PacketFactory.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <memory>
4
6
7namespace ProtocolCraft
8{
9 class Packet;
10
11 std::shared_ptr<Packet> CreateClientboundPacket(const ConnectionState state, const int id);
12 std::shared_ptr<Packet> CreateServerboundPacket(const ConnectionState state, const int id);
13} //ProtocolCraft
std::shared_ptr< Packet > CreateClientboundPacket(const ConnectionState state, const int id)
std::shared_ptr< Packet > CreateServerboundPacket(const ConnectionState state, const int id)