Skip to content

Class endstone::Packet

ClassList > endstone > Packet

Represents a packet.

  • #include <endstone/network/packet.h>

Inherited by the following classes: endstone::SpawnParticleEffectPacket

Public Functions

Type Name
virtual PacketType getType () const = 0
Gets the type of the packet.
virtual ~Packet () = default

Public Functions Documentation

function getType

Gets the type of the packet.

virtual PacketType endstone::Packet::getType () const = 0

Returns:

The type of the packet.


function ~Packet

virtual endstone::Packet::~Packet () = default


The documentation for this class was generated from the following file include/endstone/network/packet.h