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