Navigation
API > API/Runtime > API/Runtime/NetCore
Generic escalation state definition used to implement attempted recovery from faults/errors in the NetConnection level netcode. Fault handlers may have their own separate escalation tracking.
| Name | FNetFaultState |
| Type | struct |
| Header File | /Engine/Source/Runtime/Net/Core/Public/Net/Core/Connection/NetConnectionFaultRecoveryBase.h |
| Include Path | #include "Net/Core/Connection/NetConnectionFaultRecoveryBase.h" |
Syntax
USTRUCT ()
struct FNetFaultState : public FEscalationState
Inheritance Hierarchy
- FStateStruct → FEscalationState → FNetFaultState
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCloseConnection | bool | Whether or not the current escalation state should immediately Close the connection | Net/Core/Connection/NetConnectionFaultRecoveryBase.h |
|
| DescalateQuotaFaultPercentPerPeriod | int8 | Percentage of faults out of total number of recent packets, before de-escalating into this state (adds hysteresis/lag to state changes) | Net/Core/Connection/NetConnectionFaultRecoveryBase.h |
|
| DescalateQuotaFaultsPerPeriod | int16 | The number of faults per period before de-escalating into this state (adds hysteresis/lag to state changes) | Net/Core/Connection/NetConnectionFaultRecoveryBase.h |
|
| EscalateQuotaFaultPercentPerPeriod | int8 | Percentage of faults out of total number of recent packets, before the next stage of escalation is triggered | Net/Core/Connection/NetConnectionFaultRecoveryBase.h |
|
| EscalateQuotaFaultsPerPeriod | int16 | Escalation limits - for escalating to a more strict fault state The number of faults per period before the next stage of escalation is triggered | Net/Core/Connection/NetConnectionFaultRecoveryBase.h |
|
| EscalateQuotaTimePeriod | int8 | The time period to use for determining escalation/de-escalation quotas (Max: 16) | Net/Core/Connection/NetConnectionFaultRecoveryBase.h |
|
Functions
Protected
Overridden from FStateStruct
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyImpliedValuesInternal() |
Net/Core/Connection/NetConnectionFaultRecoveryBase.h | ||
virtual EInitStateDefaultsResult InitConfigDefaultsInternal() |
To be implemented by subclasses | Net/Core/Connection/NetConnectionFaultRecoveryBase.h | |
virtual void ValidateConfigInternal() |
FEscalationState | Net/Core/Connection/NetConnectionFaultRecoveryBase.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UClass * GetBaseConfigClass() |
Net/Core/Connection/NetConnectionFaultRecoveryBase.h | ||
static const TCHAR * GetConfigSection() |
FNetFaultState | Net/Core/Connection/NetConnectionFaultRecoveryBase.h |