![]() |
Botcraft 1.21.4
|
#include <ClientboundSetScorePacket.hpp>
Public Member Functions | |
SERIALIZED_FIELD (Owner, std::string) | |
SERIALIZED_FIELD (ObjectiveName, std::string) | |
SERIALIZED_FIELD (Score, VarInt) | |
SERIALIZED_FIELD (Display, std::optional< Chat >) | |
SERIALIZED_FIELD (NumberFormat, std::optional< ProtocolCraft::NumberFormat >) | |
![]() | |
virtual | ~BaseMessage () override |
virtual int | GetId () const override |
virtual std::string_view | GetName () const override |
![]() | |
virtual | ~Message () |
virtual void | Write (WriteContainer &container) const override |
void | Dispatch (Handler *handler) |
![]() | |
virtual | ~NetworkType () |
virtual void | Read (ReadIterator &iter, size_t &length) |
virtual Json::Value | Serialize () const |
Public Attributes | |
DECLARE_READ_WRITE_SERIALIZE | |
Static Public Attributes | |
static constexpr std::string_view | packet_name = "Set Score" |
Additional Inherited Members | |
![]() | |
using | THIS = ClientboundSetScorePacket |
![]() | |
virtual void | DispatchImpl (Handler *handler) override |
![]() | |
virtual void | ReadImpl (ReadIterator &iter, size_t &length)=0 |
virtual void | WriteImpl (WriteContainer &container) const =0 |
virtual Json::Value | SerializeImpl () const =0 |
Definition at line 18 of file ClientboundSetScorePacket.hpp.
ProtocolCraft::ClientboundSetScorePacket::SERIALIZED_FIELD | ( | Display | , |
std::optional< Chat > | |||
) |
ProtocolCraft::ClientboundSetScorePacket::SERIALIZED_FIELD | ( | NumberFormat | , |
std::optional< ProtocolCraft::NumberFormat > | |||
) |
ProtocolCraft::ClientboundSetScorePacket::SERIALIZED_FIELD | ( | ObjectiveName | , |
std::string | |||
) |
ProtocolCraft::ClientboundSetScorePacket::SERIALIZED_FIELD | ( | Owner | , |
std::string | |||
) |
ProtocolCraft::ClientboundSetScorePacket::SERIALIZED_FIELD | ( | Score | , |
VarInt | |||
) |
ProtocolCraft::ClientboundSetScorePacket::DECLARE_READ_WRITE_SERIALIZE |
Definition at line 37 of file ClientboundSetScorePacket.hpp.
|
staticconstexpr |
Definition at line 21 of file ClientboundSetScorePacket.hpp.