Navigation
API > API/Runtime > API/Runtime/Engine
Metrics mutator that tracks the maximum of a metric.
| Name | FNetworkMetricsMutatorMax |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Net/NetworkMetricsMutators.h |
| Include Path | #include "Net/NetworkMetricsMutators.h" |
Syntax
USTRUCT ()
struct FNetworkMetricsMutatorMax : public FNetworkMetricsMutator
Inheritance Hierarchy
- FNetworkMetricsMutator → FNetworkMetricsMutatorMax
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MaxValue | FValueVariant | Net/NetworkMetricsMutators.h | ||
| MetricName | FName | The network metric to track the max of. | Net/NetworkMetricsMutators.h |
|
| MutatorName | FName | The default name of this mutator, derived from MetricName | Net/NetworkMetricsMutators.h |
Functions
Public
Overridden from FNetworkMetricsMutator
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TArrayView< const FName > GetAllMetricNames() |
Returns a list of all metrics used by this mutator. | Net/NetworkMetricsMutators.h | |
virtual FValueVariant GetValue() |
Returns this mutator's current computed value | Net/NetworkMetricsMutators.h | |
virtual void ProcessFrame
(
const UE::Net::FNetworkMetricSnapshot& Snapshot |
Called every frame with a snapshot containing this mutator's metrics. | Net/NetworkMetricsMutators.h | |
virtual void Reset() |
Clears internal data, typically used after a listener reports its metrics. | Net/NetworkMetricsMutators.h |