Navigation
API > API/Runtime > API/Runtime/NetCore
Stores the DDoS detection state (either settings from the config file, or the active DDoS detection state)
| Name | FDDoSState |
| Type | struct |
| Header File | /Engine/Source/Runtime/Net/Core/Public/Net/Core/Misc/DDoSDetection.h |
| Include Path | #include "Net/Core/Misc/DDoSDetection.h" |
Syntax
struct FDDoSState
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDDoSState() |
Net/Core/Misc/DDoSDetection.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bSendEscalateAnalytics | bool | Whether or not to send analytics when escalating to this state | Net/Core/Misc/DDoSDetection.h | |
| CooloffTime | int32 | The amount of time, in seconds, before the current DDoS severity category cools off and de-escalates | Net/Core/Misc/DDoSDetection.h | |
| EscalateQuotaBadPacketsPerSec | int32 | The number of bad (failed to process correctly) packets/sec, before the next stage of DDoS detection is triggered | Net/Core/Misc/DDoSDetection.h | |
| EscalateQuotaDisconnPacketsPerSec | int32 | The number of recently disconnected NetConnection packets/sec, before the next stage of DDoS detection is triggered. | Net/Core/Misc/DDoSDetection.h | |
| EscalateQuotaPacketsPerSec | int32 | The number of packets/sec before the next stage of DDoS detection is triggered | Net/Core/Misc/DDoSDetection.h | |
| EscalateTimeQuotaMSPerFrame | int16 | The amount of time spent processing packets, before the next stage of DDoS detection is triggered | Net/Core/Misc/DDoSDetection.h | |
| NetConnPacketTimeLimitMSPerFrame | int32 | The limit for time spent processing NetConnection packets, each frame (counts all packets time, non-NetConn and NetConn) | Net/Core/Misc/DDoSDetection.h | |
| PacketLimitPerFrame | int32 | The limit for the number of non-NetConnection packets to process, each frame | Net/Core/Misc/DDoSDetection.h | |
| PacketTimeLimitMSPerFrame | int32 | The limit for time spent processing non-NetConnection packets, each frame (counts all packets time, non-NetConn and NetConn) | Net/Core/Misc/DDoSDetection.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool HasHitQuota
(
FDDoSPacketCounters& InCounter, |
Whether or not the specified counters and time passed has hit any of the quota's | Net/Core/Misc/DDoSDetection.h |