Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Net
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UNetworkMetricsDatabase
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Net/NetworkMetricsDatabase.h |
| Include | #include "Net/NetworkMetricsDatabase.h" |
Syntax
UCLASS ()
class UNetworkMetricsDatabase : public UObject
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Returns true if a metric has been created in the database. | ||
| void | CreateFloat
(
const FName MetricName, |
Add a floating point metric. | |
| void | Add an integer metric. | ||
| bool | IncrementInt
(
const FName MetricName, |
Increment the value of an existing integer metric. | |
| void | Call all registered listeners. | ||
| void | Register
(
const FName MetricName, |
Register a listener to be called for a given metric. | |
| void | Reset () |
Remove all registered metrics and listeners. | |
| bool | Set the value of an existing floating point metric. | ||
| bool | Set the value of an existing integer metric. | ||
| bool | SetMaxFloat
(
const FName MetricName, |
Set the value of a floating point metric if it's bigger than the existing value. | |
| bool | Set the value of an integer metric if it's bigger than the existing value. | ||
| bool | SetMinFloat
(
const FName MetricName, |
Set the value of a floating point metric if it's smaller than the existing value. | |
| bool | Set the value of an integer metric if it's smaller than the existing value. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EMetricType |
Typedefs
| Name | Description |
|---|---|
| FNameAndType |