Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
rtp::net::NetworkEvent Struct Reference

Represents a network event containing session ID and packet data. More...

#include <INetwork.hpp>

Collaboration diagram for rtp::net::NetworkEvent:

Public Attributes

uint32_t sessionId
 
Packet packet
 

Detailed Description

Represents a network event containing session ID and packet data.

Definition at line 34 of file INetwork.hpp.

Member Data Documentation

◆ packet

Packet rtp::net::NetworkEvent::packet

Definition at line 36 of file INetwork.hpp.

Referenced by rtp::client::NetworkSyncSystem::handleEvent().

◆ sessionId

uint32_t rtp::net::NetworkEvent::sessionId

Definition at line 35 of file INetwork.hpp.


The documentation for this struct was generated from the following file: