NetEmulation.DropUnreliableOfActorClass
NetEmulation.DropUnreliableOfActorClass
#Overview
name: NetEmulation.DropUnreliableOfActorClass
This variable is created as a Console Variable (cvar).
- type:
Cmd
- help:
Drop random unreliable RPCs sent on actors of the given class type. <ActorClassName> Class name to match with (can be a substring). (optional)<0-100> to set the drop percentage (default is 20).
It is referenced in 1
C++ source file.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/Net/NetEmulationHelper.cpp:144
Scope (from outer to inner):
file
namespace UE::Net::Private::NetEmulationHelper
Source code excerpt:
}));
FAutoConsoleCommandWithWorldArgsAndOutputDevice NetEmulationDropUnreliableOfActorClassFunction(TEXT("NetEmulation.DropUnreliableOfActorClass"),
TEXT("Drop random unreliable RPCs sent on actors of the given class type. "
"<ActorClassName> Class name to match with (can be a substring). "
"(optional)<0-100> to set the drop percentage (default is 20)."),
FConsoleCommandWithWorldArgsAndOutputDeviceDelegate::CreateStatic([](const TArray<FString>& Args, UWorld* World, FOutputDevice& Output)
{
UNetDriver* NetDriver = World->NetDriver;