UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FDDoSState Struct Reference

#include <DDoSDetection.h>

+ Inheritance diagram for FDDoSState:

Public Member Functions

 FDDoSState ()
 
bool HasHitQuota (FDDoSPacketCounters &InCounter, int32 TimePassedMS) const
 

Public Attributes

bool bSendEscalateAnalytics
 
int32 EscalateQuotaPacketsPerSec
 
int32 EscalateQuotaDisconnPacketsPerSec
 
int32 EscalateQuotaBadPacketsPerSec
 
int16 EscalateTimeQuotaMSPerFrame
 
int32 PacketLimitPerFrame
 
int32 PacketTimeLimitMSPerFrame
 
int32 NetConnPacketTimeLimitMSPerFrame
 
int32 CooloffTime
 

Detailed Description

Stores the DDoS detection state (either settings from the config file, or the active DDoS detection state)

Constructor & Destructor Documentation

◆ FDDoSState()

FDDoSState::FDDoSState ( )
inline

Member Function Documentation

◆ HasHitQuota()

bool FDDoSState::HasHitQuota ( FDDoSPacketCounters InCounter,
int32  TimePassedMS 
) const
inline

Whether or not the specified counters and time passed has hit any of the quota's

Parameters
InCounterThe counters to check against
TimePassedMSThe amount of time passed in milliseconds, since the beginning of this state
Returns
Whether or not the quota was hit

Member Data Documentation

◆ bSendEscalateAnalytics

bool FDDoSState::bSendEscalateAnalytics

Whether or not to send analytics when escalating to this state

◆ CooloffTime

int32 FDDoSState::CooloffTime

The amount of time, in seconds, before the current DDoS severity category cools off and de-escalates

◆ EscalateQuotaBadPacketsPerSec

int32 FDDoSState::EscalateQuotaBadPacketsPerSec

The number of bad (failed to process correctly) packets/sec, before the next stage of DDoS detection is triggered

◆ EscalateQuotaDisconnPacketsPerSec

int32 FDDoSState::EscalateQuotaDisconnPacketsPerSec

The number of recently disconnected NetConnection packets/sec, before the next stage of DDoS detection is triggered.

◆ EscalateQuotaPacketsPerSec

int32 FDDoSState::EscalateQuotaPacketsPerSec

The number of packets/sec before the next stage of DDoS detection is triggered

◆ EscalateTimeQuotaMSPerFrame

int16 FDDoSState::EscalateTimeQuotaMSPerFrame

The amount of time spent processing packets, before the next stage of DDoS detection is triggered

◆ NetConnPacketTimeLimitMSPerFrame

int32 FDDoSState::NetConnPacketTimeLimitMSPerFrame

The limit for time spent processing NetConnection packets, each frame (counts all packets time, non-NetConn and NetConn)

◆ PacketLimitPerFrame

int32 FDDoSState::PacketLimitPerFrame

The limit for the number of non-NetConnection packets to process, each frame

◆ PacketTimeLimitMSPerFrame

int32 FDDoSState::PacketTimeLimitMSPerFrame

The limit for time spent processing non-NetConnection packets, each frame (counts all packets time, non-NetConn and NetConn)


The documentation for this struct was generated from the following file: