![]() |
Botcraft 1.21.4
|
#include <ServerboundChatPacket.hpp>
Public Member Functions | |
SERIALIZED_FIELD (Message, std::string) | |
SERIALIZED_FIELD (Timestamp, long long int) | |
SERIALIZED_FIELD (Salt, long long int) | |
SERIALIZED_FIELD (Signature, std::optional< std::array< unsigned char, 256 > >) | |
SERIALIZED_FIELD (LastSeenMessages, LastSeenMessagesUpdate) | |
auto & | SetSignature (const std::vector< unsigned char > &signature) |
![]() | |
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 = "Chat" |
Additional Inherited Members | |
![]() | |
using | THIS = ServerboundChatPacket |
![]() | |
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 16 of file ServerboundChatPacket.hpp.
ProtocolCraft::ServerboundChatPacket::SERIALIZED_FIELD | ( | LastSeenMessages | , |
LastSeenMessagesUpdate | |||
) |
ProtocolCraft::ServerboundChatPacket::SERIALIZED_FIELD | ( | Message | , |
std::string | |||
) |
ProtocolCraft::ServerboundChatPacket::SERIALIZED_FIELD | ( | Salt | , |
long long int | |||
) |
ProtocolCraft::ServerboundChatPacket::SERIALIZED_FIELD | ( | Signature | , |
std::optional< std::array< unsigned char, 256 > > | |||
) |
ProtocolCraft::ServerboundChatPacket::SERIALIZED_FIELD | ( | Timestamp | , |
long long int | |||
) |
|
inline |
Definition at line 47 of file ServerboundChatPacket.hpp.
References SetSignature().
Referenced by SetSignature().
ProtocolCraft::ServerboundChatPacket::DECLARE_READ_WRITE_SERIALIZE |
Definition at line 42 of file ServerboundChatPacket.hpp.
|
staticconstexpr |
Definition at line 19 of file ServerboundChatPacket.hpp.