|
Botcraft 1.21.10
|
#include <ClientboundCommandSuggestionsPacket.hpp>
Public Member Functions | |
| SERIALIZED_FIELD (Id_, VarInt) | |
| SERIALIZED_FIELD (Start, VarInt) | |
| SERIALIZED_FIELD (Length, VarInt) | |
| SERIALIZED_FIELD (Suggestions, std::map< std::string, std::optional< Chat > >) | |
Public Member Functions inherited from ProtocolCraft::BasePacket< ClientboundCommandSuggestionsPacket > | |
| 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 = "Command Suggestions" |
Additional Inherited Members | |
Protected Types inherited from ProtocolCraft::BasePacket< ClientboundCommandSuggestionsPacket > | |
| using | THIS = ClientboundCommandSuggestionsPacket |
Protected Member Functions inherited from ProtocolCraft::BasePacket< ClientboundCommandSuggestionsPacket > | |
| 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 11 of file ClientboundCommandSuggestionsPacket.hpp.
| ProtocolCraft::ClientboundCommandSuggestionsPacket::SERIALIZED_FIELD | ( | Id_ | , |
| VarInt | |||
| ) |
| ProtocolCraft::ClientboundCommandSuggestionsPacket::SERIALIZED_FIELD | ( | Length | , |
| VarInt | |||
| ) |
| ProtocolCraft::ClientboundCommandSuggestionsPacket::SERIALIZED_FIELD | ( | Start | , |
| VarInt | |||
| ) |
| ProtocolCraft::ClientboundCommandSuggestionsPacket::SERIALIZED_FIELD | ( | Suggestions | , |
| std::map< std::string, std::optional< Chat > > | |||
| ) |
| ProtocolCraft::ClientboundCommandSuggestionsPacket::DECLARE_READ_WRITE_SERIALIZE |
Definition at line 25 of file ClientboundCommandSuggestionsPacket.hpp.
|
staticconstexpr |
Definition at line 14 of file ClientboundCommandSuggestionsPacket.hpp.