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