net.Iris.DispatchUnresolvedPreviouslyReceivedChanges
net.Iris.DispatchUnresolvedPreviouslyReceivedChanges
#Overview
name: net.Iris.DispatchUnresolvedPreviouslyReceivedChanges
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Whether to include previously received changes with unresolved object references to data received this frame when applying state data. This can call rep notify functions to be called despite being unchanged. Default is false.
It is referenced in 2
C++ source files.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Experimental/Iris/Core/Private/Iris/ReplicationSystem/ReplicationReader.cpp:74
Scope (from outer to inner):
file
namespace UE::Net::Private
Source code excerpt:
static bool bDispatchUnresolvedPreviouslyReceivedChanges = false;
static FAutoConsoleVariableRef CvarDispatchUnresolvedPreviouslyReceivedChanges(
TEXT("net.Iris.DispatchUnresolvedPreviouslyReceivedChanges"),
bDispatchUnresolvedPreviouslyReceivedChanges,
TEXT("Whether to include previously received changes with unresolved object references to data received this frame when applying state data. This can call rep notify functions to be called despite being unchanged. Default is false."));
static bool bRemapDynamicObjects = true;
static FAutoConsoleVariableRef CvarRemapDynamicObjects(
TEXT("net.Iris.RemapDynamicObjects"),
#Loc: <Workspace>/Engine/Plugins/Runtime/ReplicationSystemTestPlugin/Source/Private/Tests/ReplicationState/TestPropertyReplicationState.cpp:502
Scope (from outer to inner):
file
namespace UE::Net::Private
function UE_NET_TEST_FIXTURE
Source code excerpt:
UE_NET_TEST_FIXTURE(FTestPropertyReplicationStateContext, TestArrayOnRepWithUnresolvedReferences)
{
IConsoleVariable* CVarbApplyPreviouslyReceivedState = IConsoleManager::Get().FindConsoleVariable(TEXT("net.Iris.DispatchUnresolvedPreviouslyReceivedChanges"), false);
UE_NET_ASSERT_NE(CVarbApplyPreviouslyReceivedState, nullptr);
UE_NET_ASSERT_TRUE(CVarbApplyPreviouslyReceivedState->IsVariableBool());
const bool bOldApplyPreviouslyReceivedState = CVarbApplyPreviouslyReceivedState->GetBool();
ON_SCOPE_EXIT { CVarbApplyPreviouslyReceivedState->Set(bOldApplyPreviouslyReceivedState, ECVF_SetByCode); };