You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-120581 #android [REVIEW] [at]Jack.Porter #rb Jack.Porter #preflight https://horde.devtools.epicgames.com/job/6216bf01476ef5d8a211663b #ROBOMERGE-AUTHOR: chris.babcock #ROBOMERGE-SOURCE: CL 19106332 via CL 19106499 via CL 19106550 via CL 19106616 via CL 19110163 #ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845) [CL 19151499 by chris babcock in ue5-main branch]
36 lines
1.0 KiB
C++
36 lines
1.0 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "AndroidFileServerRuntimeSettings.h"
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
// UAndroidFileServerRuntimeSettings
|
|
|
|
UAndroidFileServerRuntimeSettings::UAndroidFileServerRuntimeSettings(const FObjectInitializer& ObjectInitializer)
|
|
: Super(ObjectInitializer)
|
|
, bEnablePlugin(true)
|
|
, bAllowNetworkConnection(true)
|
|
, SecurityToken(TEXT("[AUTO]"))
|
|
, bIncludeInShipping(false)
|
|
, bAllowExternalStartInShipping(false)
|
|
, bCompileAFSProject(false)
|
|
, bUseCompression(false)
|
|
, bLogFiles(false)
|
|
, bReportStats(false)
|
|
, ConnectionType(EAFSConnectionType::USBOnly)
|
|
, bUseManualIPAddress(false)
|
|
, ManualIPAddress(TEXT(""))
|
|
{
|
|
}
|
|
|
|
void UAndroidFileServerRuntimeSettings::PostInitProperties()
|
|
{
|
|
Super::PostInitProperties();
|
|
|
|
// Auto-generate a security token first time
|
|
if (SecurityToken == "[AUTO]")
|
|
{
|
|
FGuid UniqueId = FGuid::NewGuid();
|
|
SecurityToken = UniqueId.ToString();
|
|
TryUpdateDefaultConfigFile();
|
|
}
|
|
} |