UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Net::FNetMetric Struct Reference

#include <NetMetrics.h>

Public Types

enum class  EDataType { None , Unsigned , Signed , Double }
 

Public Member Functions

 FNetMetric ()
 
template<typename T >
 FNetMetric (T InValue)
 
template<typename T >
void Set (T InValue)
 
EDataType GetDataType () const
 
int32 GetSigned () const
 
uint32 GetUnsigned () const
 
double GetDouble () const
 

Detailed Description

Class used to store a single analytics value. Only supports integers or floating points for now.

Member Enumeration Documentation

◆ EDataType

Enumerator
None 
Unsigned 
Signed 
Double 

Constructor & Destructor Documentation

◆ FNetMetric() [1/2]

UE::Net::FNetMetric::FNetMetric ( )
inline

◆ FNetMetric() [2/2]

template<typename T >
UE::Net::FNetMetric::FNetMetric ( InValue)
inline

Member Function Documentation

◆ GetDataType()

EDataType UE::Net::FNetMetric::GetDataType ( ) const
inline

◆ GetDouble()

double UE::Net::FNetMetric::GetDouble ( ) const
inline

◆ GetSigned()

int32 UE::Net::FNetMetric::GetSigned ( ) const
inline

◆ GetUnsigned()

uint32 UE::Net::FNetMetric::GetUnsigned ( ) const
inline

◆ Set()

template<typename T >
void UE::Net::FNetMetric::Set ( InValue)
inline

Member Data Documentation

◆ Double

double UE::Net::FNetMetric::Double

◆ Signed

int32 UE::Net::FNetMetric::Signed

◆ Unsigned

uint32 UE::Net::FNetMetric::Unsigned

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