Botcraft 1.21.4
Loading...
Searching...
No Matches
ProtocolCraft::ClientboundDisguisedChatPacket Class Reference

#include <ClientboundDisguisedChatPacket.hpp>

Inheritance diagram for ProtocolCraft::ClientboundDisguisedChatPacket:
ProtocolCraft::BaseMessage< ClientboundDisguisedChatPacket > ProtocolCraft::Message ProtocolCraft::NetworkType

Public Member Functions

 SERIALIZED_FIELD (Message, Chat)
 
 SERIALIZED_FIELD (ChatType, ChatTypeBoundNetwork)
 
- Public Member Functions inherited from ProtocolCraft::BaseMessage< ClientboundDisguisedChatPacket >
virtual ~BaseMessage () override
 
virtual int GetId () const override
 
virtual std::string_view GetName () const override
 
- Public Member Functions inherited from ProtocolCraft::Message
virtual ~Message ()
 
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 = "Disguised Chat"
 

Additional Inherited Members

- Protected Types inherited from ProtocolCraft::BaseMessage< ClientboundDisguisedChatPacket >
using THIS = ClientboundDisguisedChatPacket
 
- Protected Member Functions inherited from ProtocolCraft::BaseMessage< ClientboundDisguisedChatPacket >
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
 

Detailed Description

Definition at line 10 of file ClientboundDisguisedChatPacket.hpp.

Member Function Documentation

◆ SERIALIZED_FIELD() [1/2]

ProtocolCraft::ClientboundDisguisedChatPacket::SERIALIZED_FIELD ( ChatType  ,
ChatTypeBoundNetwork   
)

◆ SERIALIZED_FIELD() [2/2]

ProtocolCraft::ClientboundDisguisedChatPacket::SERIALIZED_FIELD ( Message  ,
Chat   
)

Member Data Documentation

◆ DECLARE_READ_WRITE_SERIALIZE

ProtocolCraft::ClientboundDisguisedChatPacket::DECLARE_READ_WRITE_SERIALIZE

Definition at line 18 of file ClientboundDisguisedChatPacket.hpp.

◆ packet_name

constexpr std::string_view ProtocolCraft::ClientboundDisguisedChatPacket::packet_name = "Disguised Chat"
staticconstexpr

Definition at line 13 of file ClientboundDisguisedChatPacket.hpp.


The documentation for this class was generated from the following file: