![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <EscalationStates.h>
Inheritance diagram for UE::Net::TEscalationManager< CountersEnum, EscalationStateType, CounterCategoriesEnum >:Public Member Functions | |
| TEscalationManager () | |
| void | Init (FString ConfigContext) |
| int32 | AddNewCounter (int32 Count=1) |
| void | RegisterCounterCategory (int32 CategoryIndex, int32 CounterIndex) |
Public Member Functions inherited from UE::Net::FEscalationManager | |
| FEscalationCounter & | GetFrameCounter (int32 CounterIndex) |
| NETCORE_API void | CheckQuotas () |
| NETCORE_API void | TickRealtime (double TimeSeconds) |
| bool | DoesRequireTick () const |
| NETCORE_API bool | IsDormant () const |
| NETCORE_API const UEscalationManagerConfig * | GetBaseConfig () const |
| NETCORE_API void | SetManagerContext (FString InManagerContext) |
| NETCORE_API void | SetNotifySeverityUpdate (FNotifySeverityUpdate &&InNotifySeverityUpdate) |
Manages initialization/application of escalation states for the specified escalation state type, and allocation/tracking of the specified counters/timers used to calculate state change quotas/thresholds.
The different counter types are specified in sequential order in the 'CountersEnum' enum, followed by a final/unused Max value.
|
inline |
Base constructor
|
inline |
Dynamically adds a new counter not specified in CountersEnum, and returns its index. If NumPrealloc (or Max if not specified) is exceeded, counter tracking will switch from inline allocation to the heap.
| Count | The number of counters to add |
|
inline |
Initializes the escalation manager
| ConfigContext | Additional context to use for state configuration (e.g. NetDriver name, to separate config for each NetDriver) |
|
inline |
Registers a counter for automatic processing under the specified counter category, as set by CounterCategoriesEnum (each category can implement a different type of custom processing, in HasHitAnyQuota)
| CategoryIndex | The processing category the counter should be registered under |
| CounterIndex | The index of the counter to register |