22#include <StormByte/buffer/fifo.hxx>
24#include <StormByte/serializable.hxx>
84 static constexpr
unsigned short PROCESS_THRESHOLD = 10;
Polymorphic wire packet: opcode + payload hook.
Definition packet.hxx:38
Packet(Packet &&other) noexcept=default
Move constructor.
Packet(const Packet &other)=default
Copy constructor.
Buffer::FIFO Serialize() const noexcept
Serialize opcode followed by DoSerialize() payload.
virtual ~Packet() noexcept=default
Destructor.
virtual Buffer::DataType DoSerialize() const noexcept=0
Payload-only serialization (no opcode).
unsigned short OpcodeType
Opcode storage type.
Definition packet.hxx:40
Transport types of the Network module.
Definition packet.hxx:29
#define STORMBYTE_NETWORK_PUBLIC
Definition visibility.h:28