17 lines
414 B
C++
17 lines
414 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "Commandlets/UnrealPakCommandlet.h"
|
|
#include "PakFileUtilities.h"
|
|
|
|
#include UE_INLINE_GENERATED_CPP_BY_NAME(UnrealPakCommandlet)
|
|
|
|
UUnrealPakCommandlet::UUnrealPakCommandlet(const FObjectInitializer& ObjectInitializer)
|
|
: Super(ObjectInitializer)
|
|
{
|
|
}
|
|
|
|
int32 UUnrealPakCommandlet::Main(const FString& Params)
|
|
{
|
|
return ExecuteUnrealPak(*Params)? 0 : 1;
|
|
}
|