Navigation
API > API/Runtime > API/Runtime/Engine
Per-RPC analytics for any RPC Tracking that is active within the RPC DoS Detection instance.
| Name | FRPCAnalytics |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Analytics/RPCDoSDetectionAnalytics.h |
| Include Path | #include "Analytics/RPCDoSDetectionAnalytics.h" |
Syntax
struct FRPCAnalytics
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BlockedCount | int32 | Counts the total number of times calls to this RPC were blocked | Analytics/RPCDoSDetectionAnalytics.h | |
| MaxCountPerSec | int32 | The maximum number of calls to the RPC per second | Analytics/RPCDoSDetectionAnalytics.h | |
| MaxSinglePacketRPCTime | double | The maximum amount of time spent executing a packet which contains only calls to this RPC | Analytics/RPCDoSDetectionAnalytics.h | |
| MaxTimeGameThreadCPU | uint8 | The Game Thread CPU Usage, at the approximate time that MaxTimePerSec was set (used to detect CPU Saturation, not RPC cost) | Analytics/RPCDoSDetectionAnalytics.h | |
| MaxTimePerSec | double | The maximum amount of time spent executing the RPC per second (may be larger than a second, if an RPC is long-running) | Analytics/RPCDoSDetectionAnalytics.h | |
| PlayerIP | FString | Aggregation variables The IP of the player | Analytics/RPCDoSDetectionAnalytics.h | |
| PlayerUID | FString | The UID of the player | Analytics/RPCDoSDetectionAnalytics.h | |
| RPCName | FName | The name of the RPC | Analytics/RPCDoSDetectionAnalytics.h | |
| SinglePacketGameThreadCPU | uint8 | The Game Thread CPU Usage, at the approximate time that MaxSinglePacketRPCTime was set (used to detect CPU Saturation, not RPC cost) | Analytics/RPCDoSDetectionAnalytics.h | |
| SinglePacketRPCCount | int32 | The number of calls to this RPC within the packet, at the time that MaxSinglePacketRPCTime was set | Analytics/RPCDoSDetectionAnalytics.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool WithinMinAnalyticsThreshold() |
Whether or not the current RPC's analytics meet any of the minimum hardcoded thresholds, for inclusion in analytics. | Analytics/RPCDoSDetectionAnalytics.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FRPCAnalytics& A |
Analytics/RPCDoSDetectionAnalytics.h |