#include <ClientboundSetObjectivePacket.hpp>
|
| DEFINE_CONDITION (Method02, GetMethod()==0||GetMethod()==2) |
|
| SERIALIZED_FIELD (ObjectiveName, std::string) |
|
| SERIALIZED_FIELD (Method, char) |
|
| SERIALIZED_FIELD (DisplayName, Internal::Conditioned< Chat, &THIS::Method02 >) |
|
| SERIALIZED_FIELD (RenderType, Internal::Conditioned< VarInt, &THIS::Method02 >) |
|
| SERIALIZED_FIELD (NumberFormat, Internal::Conditioned< ProtocolCraft::NumberFormat, &THIS::Method02 >) |
|
virtual | ~BasePacket () override |
|
virtual int | GetId () const override |
|
virtual std::string_view | GetName () const override |
|
virtual | ~Packet () |
|
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 |
|
|
static constexpr std::string_view | packet_name = "Set Objective" |
|
◆ DEFINE_CONDITION()
ProtocolCraft::ClientboundSetObjectivePacket::DEFINE_CONDITION |
( |
Method02 |
, |
|
|
GetMethod() |
= =0||GetMethod()==2 |
|
) |
| |
◆ SERIALIZED_FIELD() [1/5]
ProtocolCraft::ClientboundSetObjectivePacket::SERIALIZED_FIELD |
( |
DisplayName |
, |
|
|
Internal::Conditioned< Chat, &THIS::Method02 > |
|
|
) |
| |
◆ SERIALIZED_FIELD() [2/5]
ProtocolCraft::ClientboundSetObjectivePacket::SERIALIZED_FIELD |
( |
Method |
, |
|
|
char |
|
|
) |
| |
◆ SERIALIZED_FIELD() [3/5]
◆ SERIALIZED_FIELD() [4/5]
ProtocolCraft::ClientboundSetObjectivePacket::SERIALIZED_FIELD |
( |
ObjectiveName |
, |
|
|
std::string |
|
|
) |
| |
◆ SERIALIZED_FIELD() [5/5]
◆ DECLARE_READ_WRITE_SERIALIZE
ProtocolCraft::ClientboundSetObjectivePacket::DECLARE_READ_WRITE_SERIALIZE |
◆ packet_name
constexpr std::string_view ProtocolCraft::ClientboundSetObjectivePacket::packet_name = "Set Objective" |
|
staticconstexpr |
The documentation for this class was generated from the following file: