FConditionalAutoConsoleRegister

This is required because these cvars live in header files that will be included across different compilation units Just using standard [FAutoConsoleVariableRef](API\Runtime\Core\HAL\FAutoConsoleVariableRef) will cause multiple registrations of the same variable

Choose your operating system:

Windows

macOS

Linux

References

Module

NetworkPrediction

Header

/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionCVars.h

Include

#include "NetworkPredictionCVars.h"

Syntax

struct FConditionalAutoConsoleRegister

Remarks

This is required because these cvars live in header files that will be included across different compilation units Just using standard FAutoConsoleVariableRef will cause multiple registrations of the same variable

Constructors

Name Description

Public function

FConditionalAutoConsoleRegister

(
    const TCHAR* VarName,
    int32 Value,
    const TCHAR* Help
)

Public function

FConditionalAutoConsoleRegister

(
    const TCHAR* VarName,
    float Value,
    const TCHAR* Help
)