Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Net > API/Runtime/Engine/Net/FRPCDoSDetection
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Net/RPCDoSDetection.h |
| Include | #include "Net/RPCDoSDetection.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Net/RPCDoSDetection.cpp |
void Init
&40;
FName NetDriverName,
TSharedPtr< FNetAnalyticsAggregator > & AnalyticsAggregator,
FGetWorld && InWorldFunc,
FGetRPCDoSAddress && InAddressFunc,
FGetRPCDoSPlayerUID && InPlayerUIDFunc,
FRPCDoSKickPlayer && InKickPlayerFunc
&41;
Remarks
Initialize RPC DoS Detection, inputting callbacks for retrieving external information necessary for analytics.
RPC DoS Detection
Parameters
| Name | Description |
|---|---|
| NetDriverName | The name of the NetDriver which RPC DoS Detection belongs to (e.g. GameNetDriver) |
| AnalyticsAggregator | Reference to the NetDriver analytics aggregator |
| InWorldFunc | Callback for getting the current NetConnection World. |
| InAddressFunc | Callback for getting the current NetConnection address. |
| InPlayerUIDFunc | Callback for getting the current NetConnection player UID. |
| InKickPlayerFunc | Callback for kicking the player after a bad enough RPC DoS. |