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
5
#include "
protocolCraft/enums.hpp
"
6
7
namespace
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
enums.hpp
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::CreateServerboundMessage
std::shared_ptr< Message > CreateServerboundMessage(const ConnectionState state, const int id)
Definition
MessageFactory.cpp:45
ProtocolCraft::CreateClientboundMessage
std::shared_ptr< Message > CreateClientboundMessage(const ConnectionState state, const int id)
Definition
MessageFactory.cpp:26
ProtocolCraft::BrigadierPropertyType::Message
@ Message
ProtocolCraft::ConnectionState
ConnectionState
Definition
enums.hpp:6
protocolCraft
include
protocolCraft
MessageFactory.hpp
Generated by
1.9.8