R-Type  2
Doom but in better
Loading...
Searching...
No Matches
ProtocolHandler.hpp File Reference

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"
Include dependency graph for ProtocolHandler.hpp:
This graph shows which files directly or indirectly include this file:

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
 

Detailed Description

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.