UDEPRECATED_DiffPackagesCommandlet::CompareNativePropertyValues

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.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

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

Include

#include "Commandlets/DiffPackagesCommandlet.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Commandlets/DiffPackagesCommandlet.cpp

Syntax

EObjectDiff CompareNativePropertyValues
(
    UObject * ObjA,
    UObject * ObjB,
    UObject * ObjAncestor,
    struct FObjectComparison & PropertyValueComparisons
)

Remarks

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. If a different is detected, gives each object the chance to generate a textual representation of its natively serialized property values that will be displayed to the user in the final comparison report.

Returns

The cumulative comparison result type for a comparison of all natively serialized property values.

Parameters

Parameter

Description

ObjA

the object from the first package being compared. Can be NULL if both ObjB and ObjAncestor are valid, which indicates that this object doesn't exist in the first package.

ObjB

the object from the second package being compared. Can be NULL if both ObjA and ObjAncestor are valid, which indicates that this object doesn't exist in the second package.

ObjAncestor

the object from the optional common base package. Can only be NULL if both ObjA and ObjB are valid, which indicates that this is either a two-way comparison (if NumPackages == 2) or the object was added to both packages (if NumPackages == 3)

PropertyValueComparisons

contains the results for all property values that were different so far; for any native property values which are determined to be different, new entries will be added to the ObjectComparison's list of PropDiffs.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss