Navigation
API > API/Runtime > API/Runtime/Engine
Configuration for RPC DoS Detection states
| Name | FRPCDoSStateConfig |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Net/RPCDoSDetection.h |
| Include Path | #include "Net/RPCDoSDetection.h" |
Syntax
USTRUCT ()
struct FRPCDoSStateConfig : public FRPCDoSState
Inheritance Hierarchy
- FRPCDoSState → FRPCDoSStateConfig
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEscalationConfirmed | bool | Runtime values Whether or not reaching this escalation stage has been 'confirmed' for analytics | Net/RPCDoSDetection.h | |
| EscalationCount | int16 | The number of times this stage has been escalated to | Net/RPCDoSDetection.h | |
| SeverityCategory | FString | The name of the RPC DoS severity level this config section represents | Net/RPCDoSDetection.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllTimePeriods | TArray< int8 > | Cached value for all different time periods in this state | Net/RPCDoSDetection.h | |
| HighestTimePeriod | int8 | Cached/converted values Cached value for the highest time period in this config state | Net/RPCDoSDetection.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplyState
(
FRPCDoSState& Target |
Applies the loaded config state, to an object implementing RPC DoS State's. | Net/RPCDoSDetection.h | |
const TArray< int8 > & GetAllTimePeriods() |
Gets all counter time periods specified by the RPC DoS state settings | Net/RPCDoSDetection.h | |
int8 GetHighestTimePeriod() |
Gets the highest counter time period specified by RPC DoS state settings (used for limiting 'CounterPerPeriodHistory' size) | Net/RPCDoSDetection.h | |
bool LoadStructConfig
(
const TCHAR* SectionName, |
Uses reflection to load all struct config variables from the specified ini section. | Net/RPCDoSDetection.h | |
void ValidateConfig() |
Validates loaded struct config variables | Net/RPCDoSDetection.h |
Overridden from FRPCDoSState
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyImpliedValues() |
FRPCDoSStateConfig | Net/RPCDoSDetection.h |