|
Botcraft 1.21.10
|
#include <ClientboundSetEquipmentPacket.hpp>
Static Public Attributes | |
| static constexpr std::string_view | packet_name = "Set Equipment" |
Private Member Functions | |
| std::map< unsigned char, Slot > | ReadSlots (ReadIterator &iter, size_t &length) const |
| void | WriteSlots (const std::map< unsigned char, Slot > &slots, WriteContainer &container) const |
| SERIALIZED_FIELD (EntityId, VarInt) | |
| SERIALIZED_FIELD (Slots, Internal::CustomType< std::map< unsigned char, Slot >, &THIS::ReadSlots, &THIS::WriteSlots >) | |
Private Attributes | |
| DECLARE_READ_WRITE_SERIALIZE | |
Additional Inherited Members | |
Public Member Functions inherited from ProtocolCraft::BasePacket< ClientboundSetEquipmentPacket > | |
| 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 |
Protected Types inherited from ProtocolCraft::BasePacket< ClientboundSetEquipmentPacket > | |
| using | THIS = ClientboundSetEquipmentPacket |
Protected Member Functions inherited from ProtocolCraft::BasePacket< ClientboundSetEquipmentPacket > | |
| 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 ClientboundSetEquipmentPacket.hpp.
|
inlineprivate |
Definition at line 16 of file ClientboundSetEquipmentPacket.hpp.
|
private |
|
private |
|
inlineprivate |
Definition at line 31 of file ClientboundSetEquipmentPacket.hpp.
|
private |
Definition at line 49 of file ClientboundSetEquipmentPacket.hpp.
|
staticconstexpr |
Definition at line 12 of file ClientboundSetEquipmentPacket.hpp.