bAllowNetworkConnection
bAllowNetworkConnection
#Overview
name: bAllowNetworkConnection
The value of this variable can be defined or overridden in .ini config files. 1
.ini config file referencing this setting variable.
It is referenced in 2
C++ source files. Also referenced in 1
C# build file meaning it may affect the build system logic.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Projects/Lyra/Config/DefaultEngine.ini:368, section: [/Script/AndroidFileServerEditor.AndroidFileServerRuntimeSettings]
- INI Section:
/Script/AndroidFileServerEditor.AndroidFileServerRuntimeSettings
- Raw value:
True
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Plugins/Runtime/AndroidFileServer/Source/AndroidFileServerEditor/Private/AndroidFileServerRuntimeSettings.cpp:10
Scope (from outer to inner):
file
function UAndroidFileServerRuntimeSettings::UAndroidFileServerRuntimeSettings
Source code excerpt:
: Super(ObjectInitializer)
, bEnablePlugin(true)
, bAllowNetworkConnection(true)
, SecurityToken(TEXT("[AUTO]"))
, bIncludeInShipping(false)
, bAllowExternalStartInShipping(false)
, bCompileAFSProject(false)
, bUseCompression(false)
, bLogFiles(false)
#Loc: <Workspace>/Engine/Plugins/Runtime/AndroidFileServer/Source/AndroidFileServerEditor/Public/AndroidFileServerRuntimeSettings.h:31
Scope (from outer to inner):
file
class class UAndroidFileServerRuntimeSettings : public UObject
Source code excerpt:
// Allow FileServer connection using network
UPROPERTY(EditAnywhere, config, Category = Packaging, Meta = (EditCondition = "bEnablePlugin"))
bool bAllowNetworkConnection;
// Optional security token required to start FileServer (leave empty to disable)
UPROPERTY(EditAnywhere, config, Category = Packaging, Meta = (EditCondition = "bEnablePlugin"))
FString SecurityToken;
// Embed FileServer in Shipping builds
#References in C# build files
This variable is referenced in the following C# build files:
Location: <Workspace>/Engine/Source/Programs/AutomationTool/Android/AndroidPlatform.Automation.cs:908
bool bAllowNetworkConnection = true;
if (!Ini.GetBool("/Script/AndroidFileServerEditor.AndroidFileServerRuntimeSettings", "bAllowNetworkConnection", out bAllowNetworkConnection))
{
bAllowNetworkConnection = true;
}
if (!bAllowNetworkConnection && ConnectionType != EConnectionType.USBOnly)
{
Logger.LogWarning("AFS will only use USB connection due to network connection disabled");