Navigation
API > API/Runtime > API/Runtime/NetCore > API/Runtime/NetCore/TEscalationManager
Description
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.
| Name | AddNewCounter |
| Type | function |
| Header File | /Engine/Source/Runtime/Net/Core/Public/Net/Core/Connection/EscalationStates.h |
| Include Path | #include "Net/Core/Connection/EscalationStates.h" |
int32 AddNewCounter
(
int32 Count
)
The index of the first added counter
Parameters
| Name | Remarks |
|---|---|
| Count | The number of counters to add |