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