Botcraft
1.21.4
Loading...
Searching...
No Matches
ClientboundSetActionBarTextPacket.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 754
/* > 1.16.5 */
2
#pragma once
3
4
#include "
protocolCraft/BaseMessage.hpp
"
5
#include "
protocolCraft/Types/Chat/Chat.hpp
"
6
7
namespace
ProtocolCraft
8
{
9
class
ClientboundSetActionBarTextPacket
:
public
BaseMessage
<ClientboundSetActionBarTextPacket>
10
{
11
public
:
12
static
constexpr
std::string_view
packet_name
=
"Set Action Bar Text"
;
13
14
SERIALIZED_FIELD
(Text,
Chat
);
15
16
DECLARE_READ_WRITE_SERIALIZE
;
17
};
18
}
//ProtocolCraft
19
#endif
BaseMessage.hpp
Chat.hpp
ProtocolCraft::BaseMessage
Definition
BaseMessage.hpp:11
ProtocolCraft::Chat
Definition
Chat.hpp:18
ProtocolCraft::ClientboundSetActionBarTextPacket
Definition
ClientboundSetActionBarTextPacket.hpp:10
ProtocolCraft::ClientboundSetActionBarTextPacket::packet_name
static constexpr std::string_view packet_name
Definition
ClientboundSetActionBarTextPacket.hpp:12
ProtocolCraft::ClientboundSetActionBarTextPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ClientboundSetActionBarTextPacket.hpp:16
ProtocolCraft::ClientboundSetActionBarTextPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Text, Chat)
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Messages
Play
Clientbound
ClientboundSetActionBarTextPacket.hpp
Generated by
1.9.8