NetEmulation.DropUnreliableOfSubObjectClass
NetEmulation.DropUnreliableOfSubObjectClass
#Overview
name: NetEmulation.DropUnreliableOfSubObjectClass
This variable is created as a Console Variable (cvar).
- type:
Cmd
- help:
Drop randomly the unreliable RPCs of a subobject of the given class. <SubObjectClassName> The name of the RPC (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:273
Scope (from outer to inner):
file
namespace UE::Net::Private::NetEmulationHelper
Source code excerpt:
}));
FAutoConsoleCommandWithWorldArgsAndOutputDevice NetEmulationDropUnreliableOfSubObjectClassFunction(TEXT("NetEmulation.DropUnreliableOfSubObjectClass"),
TEXT("Drop randomly the unreliable RPCs of a subobject of the given class. "
"<SubObjectClassName> The name of the RPC (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;