![]() |
R-Type
2
Doom but in better
|
This file defines the Packet
class responsible for serializing and deserializing a custom binary UDP protocol.
More...
#include <vector>
#include <string>
#include <cstdint>
#include <iostream>
#include <stdexcept>
#include "Log.hpp"
#include "LogMacros.hpp"
#include "Utilities.hpp"
#include "GUI/ECS/EntityNode.hpp"
#include "GUI/Network/MessageType.hpp"
Go to the source code of this file.
Data Structures | |
class | GUI::Network::Packet |
Represents a packet for the custom binary UDP protocol. More... | |
Namespaces | |
namespace | GUI |
namespace | GUI::Network |
This file defines the Packet
class responsible for serializing and deserializing a custom binary UDP protocol.
The Packet
class handles the creation, serialization, and deserialization of UDP protocol packets. It includes functionality for managing various message types such as connection, disconnection, movement, shooting, and spawning of entities. This allows efficient communication between client and server by sending and receiving structured data over UDP.
Definition in file ProtocolHandler.hpp.