UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FNetConnectionPacketAnalytics Struct Reference

#include <NetAnalyticsTypes.h>

Public Member Functions

 FNetConnectionPacketAnalytics ()
 
const uint32 GetLongestRunOfDroppedInPackets () const
 
const uint32 GetLongestRunOfDroppedOutPackets () const
 
const uint32 GetNumberOfFramesWithBurstsOfPacketLoss () const
 
const uint32 GetNumberOfFramesWithNoPackets () const
 
const uint64 GetNumberOfTrackedFrames () const
 
const double GetBurstyPacketLossPerSecond (double DurationSec) const
 
ENGINE_API void Reset ()
 

Friends

class UNetConnection
 

Detailed Description

Struct wrapper Per Net Connection analytics for things like packet loss and jitter.

Constructor & Destructor Documentation

◆ FNetConnectionPacketAnalytics()

FNetConnectionPacketAnalytics::FNetConnectionPacketAnalytics ( )
inline

Member Function Documentation

◆ GetBurstyPacketLossPerSecond()

const double FNetConnectionPacketAnalytics::GetBurstyPacketLossPerSecond ( double  DurationSec) const
inline

◆ GetLongestRunOfDroppedInPackets()

const uint32 FNetConnectionPacketAnalytics::GetLongestRunOfDroppedInPackets ( ) const
inline

Longest number of consecutive dropped incoming packets that was tracked.

◆ GetLongestRunOfDroppedOutPackets()

const uint32 FNetConnectionPacketAnalytics::GetLongestRunOfDroppedOutPackets ( ) const
inline

Longest number of consecutive outgoing packets that was tracked.

◆ GetNumberOfFramesWithBurstsOfPacketLoss()

const uint32 FNetConnectionPacketAnalytics::GetNumberOfFramesWithBurstsOfPacketLoss ( ) const
inline

Number of frames where we saw bursts of packet loss.

◆ GetNumberOfFramesWithNoPackets()

const uint32 FNetConnectionPacketAnalytics::GetNumberOfFramesWithNoPackets ( ) const
inline

The total number of frames where we were not notified of any packets (ACK, NAK, in or out).

◆ GetNumberOfTrackedFrames()

const uint64 FNetConnectionPacketAnalytics::GetNumberOfTrackedFrames ( ) const
inline

Total number of frames that have been tracked.

◆ Reset()

void FNetConnectionPacketAnalytics::Reset ( )

Resets the state of tracking.

Friends And Related Symbol Documentation

◆ UNetConnection

friend class UNetConnection
friend

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