|
R-Type
2
Doom but in better
|
Minimal network message with a 4-byte header (type + length) and a payload. More...
#include <message.hpp>

Data Fields | |
| uint8_t | type |
| Could map to messageType in GameMessage.hpp (CONNECT, DISCONNECT, etc.) | |
| std::vector< uint8_t > | payload |
| Arbitrary payload bytes. | |
Minimal network message with a 4-byte header (type + length) and a payload.
Definition at line 9 of file message.hpp.
| std::vector<uint8_t> Message::payload |
Arbitrary payload bytes.
Definition at line 11 of file message.hpp.
| uint8_t Message::type |
Could map to messageType in GameMessage.hpp (CONNECT, DISCONNECT, etc.)
Definition at line 10 of file message.hpp.