Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Commandlets
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UCommandlet
- UDiffAssetsCommandlet
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Classes/Commandlets/DiffAssetsCommandlet.h |
| Include | #include "Commandlets/DiffAssetsCommandlet.h" |
Syntax
class UDiffAssetsCommandlet : public UCommandlet
Remarks
Commandlet to allow diff in P4V, and expose that functionality to the editor
Constructors
| Type | Name | Description | |
|---|---|---|---|
UDiffAssetsCommandlet
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CopyFileToTempLocation
(
FString& InOutFilename |
Copies a uasset file or map to a temp location so it can be loaded without disruption to anything | |
| bool | ExportFile
(
const FString& Filename, |
Loads a uasset file or map and provides a sorted list of contained objects (but not subobjects as those will get exported anyway) | |
| bool | ExportFilesToTextAndDiff
(
const FString& Params |
The meat of the commandlet, this can be called from the editor Format of commandline is as follow File1.uasset File2.uasset -DiffCmd="C:/Program Files/Araxis/Araxis Merge/AraxisP4Diff.exe {1} {2}" | |
| bool | ExportFilesToTextAndDiff
(
const FString& Filename1, |
Runs an external diff utility | |
| bool | Loads a uasset file or map and provides a sorted list of contained objects (but not subobjects as those will get exported anyway) |