r-type  0.0.0
R-Type main
Loading...
Searching...
No Matches
rnp::PacketContext Struct Reference

Context information for packet processing. More...

#include <HandlerPacket.hpp>

+ Collaboration diagram for rnp::PacketContext:

Public Attributes

std::uint32_t sessionId
 
std::chrono::steady_clock::time_point receiveTime
 
std::string senderAddress
 
std::uint16_t senderPort
 
bool isReliable
 
bool isCompressed
 

Detailed Description

Context information for packet processing.

Definition at line 36 of file HandlerPacket.hpp.

Member Data Documentation

◆ isCompressed

bool rnp::PacketContext::isCompressed

Definition at line 43 of file HandlerPacket.hpp.

◆ isReliable

bool rnp::PacketContext::isReliable

Definition at line 42 of file HandlerPacket.hpp.

◆ receiveTime

◆ senderAddress

std::string rnp::PacketContext::senderAddress

◆ senderPort

std::uint16_t rnp::PacketContext::senderPort

◆ sessionId


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