NetEmulation.DropAnyUnreliable

NetEmulation.DropAnyUnreliable

#Overview

name: NetEmulation.DropAnyUnreliable

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

Scope (from outer to inner):

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

Source code excerpt:

}));

FAutoConsoleCommandWithWorldArgsAndOutputDevice NetEmulationDropAnyUnreliableFunction(TEXT("NetEmulation.DropAnyUnreliable"), TEXT("Drop any sent unreliable RPCs. (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;
	if (!NetDriver)
	{
		return;