Botcraft 1.21.8
Loading...
Searching...
No Matches
ProtocolCraft::ClientboundShowDialogPacket Class Reference

#include <ClientboundShowDialogPacket.hpp>

Inheritance diagram for ProtocolCraft::ClientboundShowDialogPacket:
ProtocolCraft::BasePacket< ClientboundShowDialogPacket > ProtocolCraft::Packet ProtocolCraft::NetworkType

Public Member Functions

 SERIALIZED_FIELD (Dialog, Internal::DiffType< Holder< NBT::Value >, Holder< NBT::UnnamedValue > >)
 
- Public Member Functions inherited from ProtocolCraft::BasePacket< ClientboundShowDialogPacket >
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 = "Show Dialog"
 

Additional Inherited Members

- Protected Types inherited from ProtocolCraft::BasePacket< ClientboundShowDialogPacket >
using THIS = ClientboundShowDialogPacket
 
- Protected Member Functions inherited from ProtocolCraft::BasePacket< ClientboundShowDialogPacket >
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 11 of file ClientboundShowDialogPacket.hpp.

Member Function Documentation

◆ SERIALIZED_FIELD()

ProtocolCraft::ClientboundShowDialogPacket::SERIALIZED_FIELD ( Dialog  ,
Internal::DiffType< Holder< NBT::Value >, Holder< NBT::UnnamedValue > >   
)

Member Data Documentation

◆ DECLARE_READ_WRITE_SERIALIZE

ProtocolCraft::ClientboundShowDialogPacket::DECLARE_READ_WRITE_SERIALIZE

Definition at line 18 of file ClientboundShowDialogPacket.hpp.

◆ packet_name

constexpr std::string_view ProtocolCraft::ClientboundShowDialogPacket::packet_name = "Show Dialog"
staticconstexpr

Definition at line 14 of file ClientboundShowDialogPacket.hpp.


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