You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb none #lockdown Nick.Penwarden #ROBOMERGE-OWNER: ryan.gerleve #ROBOMERGE-AUTHOR: ben.marsh #ROBOMERGE-SOURCE: CL 4662404 in //UE4/Main/... #ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking) [CL 4662413 by ben marsh in Dev-Networking branch]
28 lines
648 B
C++
28 lines
648 B
C++
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "UnrealPak.h"
|
|
#include "RequiredProgramMainCPPInclude.h"
|
|
#include "PakFileUtilities.h"
|
|
#include "IPlatformFilePak.h"
|
|
|
|
IMPLEMENT_APPLICATION(UnrealPak, "UnrealPak");
|
|
|
|
INT32_MAIN_INT32_ARGC_TCHAR_ARGV()
|
|
{
|
|
// start up the main loop
|
|
GEngineLoop.PreInit(ArgC, ArgV);
|
|
|
|
double StartTime = FPlatformTime::Seconds();
|
|
|
|
int32 Result = ExecuteUnrealPak(FCommandLine::Get())? 0 : 1;
|
|
|
|
UE_LOG(LogPakFile, Display, TEXT("Unreal pak executed in %f seconds"), FPlatformTime::Seconds() - StartTime );
|
|
|
|
GLog->Flush();
|
|
|
|
FEngineLoop::AppPreExit();
|
|
FEngineLoop::AppExit();
|
|
|
|
return Result;
|
|
}
|