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

#include <RPCDoSDetection.h>

Public Member Functions

uint8 GetCurrentHistoryIdx () const
 

Public Attributes

FRPCDoSCounters PerPeriodHistory [16] = {}
 
uint8 HistoryCount = 0
 
uint8 LastTrackedSecondIncrement = 0
 
ERPCBlockState BlockState = ERPCBlockState::Unchecked
 
TSharedPtr< FRPCAnalyticsRPCTrackingAnalyticsEntry
 

Detailed Description

Live tracking information for individual RPC's, for timing of RPC's, analytics, and handling blocking

Member Function Documentation

◆ GetCurrentHistoryIdx()

uint8 FRPCTrackingInfo::GetCurrentHistoryIdx ( ) const
inline

Gets the active 'PerPeriodHistory' index, based on LastTrackedSecondIncrement.

Returns
The currently active 'PerPeriodHistory' index.

Member Data Documentation

◆ BlockState

ERPCBlockState FRPCTrackingInfo::BlockState = ERPCBlockState::Unchecked

Whether or not the RPC is currently being blocked, after having hit a blocking quota.

◆ HistoryCount

uint8 FRPCTrackingInfo::HistoryCount = 0

The number of valid 'PerPeriodHistory' entries

◆ LastTrackedSecondIncrement

uint8 FRPCTrackingInfo::LastTrackedSecondIncrement = 0

The last time this RPC was called/tracked (based on 'SecondsIncrementer'). Indirect index to the active PerPeriodHistory entry.

◆ PerPeriodHistory

FRPCDoSCounters FRPCTrackingInfo::PerPeriodHistory[16] = {}

Contains up to 'HistoryCount' seconds of counter/timing data for the RPC. [0] = last second of data, [15] = last 16 seconds of data.

◆ RPCTrackingAnalyticsEntry

TSharedPtr<FRPCAnalytics> FRPCTrackingInfo::RPCTrackingAnalyticsEntry

Caches a pointer to analytics for this RPC, if it's within analytics thresholds


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