UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
NetPing.h File Reference
#include "CoreMinimal.h"
#include "Net/Core/Analytics/NetStatsUtils.h"
#include "GameFramework/PlayerState.h"
#include "NetPing.generated.h"

Go to the source code of this file.

Classes

struct  UE::Net::FPingValues
 
class  UE::Net::FNetPing
 

Namespaces

namespace  UE
 
namespace  UE::Net
 
namespace  UE::Net::Private
 

Enumerations

enum class  EPingType : uint32 {
  None = 0x00000000 , RoundTrip = 0x00000001 , RoundTripExclFrame = 0x00000002 , ICMP = 0x00000004 ,
  UDPQoS = 0x00000008 , Max = UDPQoS , Count = UE::Net::Private::PingTypeToIdx(static_cast<EPingType>(EPingType::Max)) + 1
}
 
enum class  EPingAverageType : uint8 { None , MovingAverage , PlayerStateAvg }
 
enum class  ENetPingControlMessage : uint8 { SetPingAddress , PingFailure , Max = PingFailure }
 

Functions

constexpr int32 UE::Net::Private::PingTypeToIdx (EPingType PingType)
 
 ENUM_CLASS_FLAGS (EPingType)
 

Enumeration Type Documentation

◆ ENetPingControlMessage

NMT_NetPing control channel sub-messages

Enumerator
SetPingAddress 
PingFailure 
Max 

◆ EPingAverageType

enum class EPingAverageType : uint8
strong

The type of averaging to perform on ping values

Enumerator
None 
MovingAverage 
PlayerStateAvg 

◆ EPingType

enum class EPingType : uint32
strong

Flags specifying different types of ping.

Enumerator
None 
RoundTrip 
RoundTripExclFrame 
ICMP 
UDPQoS 
Max 
Count 

Function Documentation

◆ ENUM_CLASS_FLAGS()

ENUM_CLASS_FLAGS ( EPingType  )