You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rnx #rb none #ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904 #ROBOMERGE-BOT: (v613-10869866) [CL 10870586 by ryan durand in Main branch]
52 lines
1.2 KiB
C++
52 lines
1.2 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/ObjectMacros.h"
|
|
#include "UObject/UObjectAnnotation.h"
|
|
#include "Commandlets/Commandlet.h"
|
|
#include "DiffFilesCommandlet.generated.h"
|
|
|
|
UCLASS()
|
|
class UDiffFilesCommandlet : public UCommandlet
|
|
{
|
|
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
|
|
struct FPackageInfo
|
|
{
|
|
FString FullPath;
|
|
FString FriendlyName;
|
|
};
|
|
|
|
|
|
TArray<FPackageInfo> PackageInfos;
|
|
|
|
/** Handled annotation to track which objects we have dealt with **/
|
|
class FUObjectAnnotationSparseBool HandledAnnotation;
|
|
|
|
/**
|
|
* Parses the command-line and loads the packages being compared.
|
|
*
|
|
* @param Parms the full command-line used to invoke this commandlet
|
|
*
|
|
* @return true if all parameters were parsed successfully; false if any of the specified packages couldn't be loaded
|
|
* or the parameters were otherwise invalid.
|
|
*/
|
|
bool Initialize(const TCHAR* Parms);
|
|
|
|
|
|
/**
|
|
* Load the packages in the commandline while loading diff them against eachother to track down where serialization has variation in the two packages
|
|
*/
|
|
void LoadAndDiff();
|
|
|
|
//~ Begin UCommandlet Interface
|
|
virtual int32 Main(const FString& Params) override;
|
|
//~ End UCommandlet Interface
|
|
};
|
|
|
|
|