NetEmulation.DropUnreliableRPC

NetEmulation.DropUnreliableRPC

#Overview

name: NetEmulation.DropUnreliableRPC

This variable is created as a Console Variable (cvar).

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:213

Scope (from outer to inner):

file
namespace    UE::Net::Private::NetEmulationHelper

Source code excerpt:

}));

FAutoConsoleCommandWithWorldArgsAndOutputDevice NetEmulationDropUnreliableRPCFunction(TEXT("NetEmulation.DropUnreliableRPC"),
	TEXT("Drop randomly the unreliable RPCs of the given name. "
		"<RPCName> 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;