|
Botcraft 1.21.10
|
#include <ClientboundStopSoundPacket.hpp>
Public Member Functions | |
| DEFINE_CONDITION (Flags1, GetFlags() &0x01) | |
| DEFINE_CONDITION (Flags2, GetFlags() &0x02) | |
| SERIALIZED_FIELD (Flags, char) | |
| SERIALIZED_FIELD_WITHOUT_GETTER_SETTER (Source, Internal::Conditioned< VarInt, &THIS::Flags1 >) | |
| SERIALIZED_FIELD_WITHOUT_GETTER_SETTER (Name_, Internal::Conditioned< Identifier, &THIS::Flags2 >) | |
| GETTER (Source) | |
| GETTER (Name_) | |
| auto & | SetSource (const std::optional< int > &Source_) |
| auto & | SetName_ (const std::optional< Identifier > &Name__) |
Public Member Functions inherited from ProtocolCraft::BasePacket< ClientboundStopSoundPacket > | |
| virtual | ~BasePacket () override |
| virtual int | GetId () const override |
| virtual std::string_view | GetName () const override |
Public Member Functions inherited from ProtocolCraft::Packet | |
| virtual | ~Packet () |
| virtual void | Write (WriteContainer &container) const override |
| void | Dispatch (Handler *handler) |
Public Member Functions inherited from ProtocolCraft::NetworkType | |
| 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 = "Stop Sound" |
Additional Inherited Members | |
Protected Types inherited from ProtocolCraft::BasePacket< ClientboundStopSoundPacket > | |
| using | THIS = ClientboundStopSoundPacket |
Protected Member Functions inherited from ProtocolCraft::BasePacket< ClientboundStopSoundPacket > | |
| virtual void | DispatchImpl (Handler *handler) override |
Protected Member Functions inherited from ProtocolCraft::NetworkType | |
| 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 9 of file ClientboundStopSoundPacket.hpp.
| ProtocolCraft::ClientboundStopSoundPacket::DEFINE_CONDITION | ( | Flags1 | , |
| GetFlags() & | 0x01 | ||
| ) |
| ProtocolCraft::ClientboundStopSoundPacket::DEFINE_CONDITION | ( | Flags2 | , |
| GetFlags() & | 0x02 | ||
| ) |
| ProtocolCraft::ClientboundStopSoundPacket::GETTER | ( | Name_ | ) |
| ProtocolCraft::ClientboundStopSoundPacket::GETTER | ( | Source | ) |
| ProtocolCraft::ClientboundStopSoundPacket::SERIALIZED_FIELD | ( | Flags | , |
| char | |||
| ) |
| ProtocolCraft::ClientboundStopSoundPacket::SERIALIZED_FIELD_WITHOUT_GETTER_SETTER | ( | Name_ | , |
| Internal::Conditioned< Identifier, &THIS::Flags2 > | |||
| ) |
| ProtocolCraft::ClientboundStopSoundPacket::SERIALIZED_FIELD_WITHOUT_GETTER_SETTER | ( | Source | , |
| Internal::Conditioned< VarInt, &THIS::Flags1 > | |||
| ) |
|
inline |
Definition at line 34 of file ClientboundStopSoundPacket.hpp.
|
inline |
Definition at line 27 of file ClientboundStopSoundPacket.hpp.
| ProtocolCraft::ClientboundStopSoundPacket::DECLARE_READ_WRITE_SERIALIZE |
Definition at line 21 of file ClientboundStopSoundPacket.hpp.
|
staticconstexpr |
Definition at line 12 of file ClientboundStopSoundPacket.hpp.