UDiffPackagesCommandlet

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Commandlets/DiffPackagesCommandlet.h

Include

#include "Commandlets/DiffPackagesCommandlet.h"

Syntax

class UDiffPackagesCommandlet : public UCommandlet

Variables

Name Description

Public variable

bool

 

bDiffAllProps

Public variable

bool

 

bDiffNonEditProps

Public variable

FUObjectAnnotat...

 

HandledAnnotation

Handled annotation to track which objects we have dealt with

Public variable

int32

 

NumPackages

Public variable

FString[3]

 

PackageFilenames

Public variable

UPackage *[...

 

Packages

Constructors

Name Description

Public function

UDiffPackagesCommandlet

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

EObjectDiff

 

CompareNativePropertyValues

(
    UObject* ObjA,
    UObject* ObjB,
    UObject* ObjAncestor,
    FObjectComparison& PropertyValueCo...
)

Compares the natively serialized property values for the specified objects by comparing the non-script serialized portion of each object's data as it is on disk.

Public function

EObjectDiff

 

DiffObjects

(
    UObject* ObjA,
    UObject* ObjB,
    UObject* ObjAncestor,
    FObjectComparison& PropDiffs
)

Public function

bool

 

GenerateObjectComparison

(
    UObject* RootObject,
    FObjectComparison& out_Comparison,
    TArray< struct FObjectComparison > ...
)

Generates object graphs for the specified object and its corresponding objects in all packages being diffed.

Public function

bool

 

Initialize

(
    const TCHAR* Parms
)

Parses the command-line and loads the packages being compared.

Public function Static

void

 

LoadNativePropertyData

(
    UObject* Object,
    TArray< uint8 >& out_NativePropert...
)

Copies the raw property values for the natively serialized properties of the specified object into the output var.

Public function

bool

 

ProcessDiff

(
    FObjectComparison& Diff
)

Overridden from UCommandlet

Name Description

Public function Virtual

int32

 

Main

(
    const FString& Params
)

Entry point for your commandlet

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback