wavelength 1.0.0
Loading...
Searching...
No Matches
internalpacket.h
Go to the documentation of this file.
1#pragma once
2
3#include "msg/packet.h"
4
11class InternalPacket : public Packet {
12public:
20 int Route() override {
21 return kRouteLaunchpad;
22 }
23
24protected:
33 explicit InternalPacket(unsigned char nFlags = 0, int nReceiver = kUnset)
34 : Packet(nFlags, nReceiver) {
35 }
36};
int Route() override
Report that a received packet goes to the online session.
Definition internalpacket.h:20
InternalPacket(unsigned char nFlags=0, int nReceiver=kUnset)
Construct a packet from an unset sender.
Definition internalpacket.h:33
Packet(unsigned char nFlags, int nReceiver)
Construct a packet from an unset sender.
Definition packet.h:84
static constexpr int kUnset
Value of mSender and mReceiver that marks the member as unset.
Definition packet.h:16
@ kRouteLaunchpad
Definition packet.h:33