Navigation
API > API/Developer > API/Developer/AssetTools
| Name | FPackageMigrationContext |
| Type | struct |
| Header File | /Engine/Source/Developer/AssetTools/Public/PackageMigrationContext.h |
| Include Path | #include "PackageMigrationContext.h" |
Syntax
struct FPackageMigrationContext : public FGCObject
Inheritance Hierarchy
- FGCObject → FPackageMigrationContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPackageMigrationContext
(
FScopedMountPoint&& InMountPoint |
PackageMigrationContext.h | ||
| PackageMigrationContext.h | |||
FPackageMigrationContext
(
const FPackageMigrationContext& |
PackageMigrationContext.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FPackageMigrationContext() |
PackageMigrationContext.h |
Structs
| Name | Remarks |
|---|---|
| FMigrationPackageData | The data associated to an package that take part of the migration process. |
| FScopedMountPoint | Utility to manage the temp mount point if needed and to help convert the paths during the migration. |
| FScopedTemporalyMovedPackage | Helper to move existing package out of the way during the migration. |
Enums
Public
| Name | Remarks |
|---|---|
| EPackageMigrationStep |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentStep | EPackageMigrationStep | PackageMigrationContext.h | ||
| DestinationMountPoint | FScopedMountPoint | PackageMigrationContext.h | ||
| ErrorMessages | TArray< FText > | General Error messages of the migration. | PackageMigrationContext.h | |
| ExcludedDependencies | TArray< FString > | The excluded dependencies of the asset that are being migrated (these don't include the asset a user might have exclude voluntary from the migration) | PackageMigrationContext.h | |
| MigratedPackageMessages | TArray< FText > | Message of the for the successfully migrated asset. | PackageMigrationContext.h | |
| MigrationPackagesData | TArray< FMigrationPackageData > | The data associated to the packages that take part of the migration process. | PackageMigrationContext.h | |
| PackagesThatWhereMoved | TArray< TObjectPtr< UPackage > > | The package that have been moved during the migration. | PackageMigrationContext.h | |
| TemporalyMovedPackages | TArray< FScopedTemporalyMovedPackage > | Helper for the package that were moved because they were in the way of migrated packages. | PackageMigrationContext.h | |
| UAssetToolsImpl | friend | PackageMigrationContext.h | ||
| WarningMessage | TArray< FText > | Message to warn the user that some extra step may be required from him to complete the migration. | PackageMigrationContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddErrorMigrationMessage
(
const FText& InMessage |
Notify the user that some asset couldn't be migrated. | PackageMigrationContext.h | |
void AddSucessfullMigrationMessage
(
const FText& InMessage |
Notify the user that files where migrated. It should tell the user what was migrated and where it is in the destination. | PackageMigrationContext.h | |
void AddWarningMigrationMessage
(
const FText& InMessage |
Notify the user that some asset may require some extra work to fully migrate. | PackageMigrationContext.h | |
EPackageMigrationStep GetCurrentStep() |
PackageMigrationContext.h | ||
const FScopedMountPoint & GetDestinationMountPoint() |
PackageMigrationContext.h | ||
const TArray< FString > & GetExcludedDependencies() |
Return the array of package dependencies that where not migrated because there where excluded by some automated filters. | PackageMigrationContext.h | |
const TArray< FMigrationPackageData > & GetMigrationPackagesData() |
Return the data associated to a package that is migrated. | PackageMigrationContext.h | |
| Return the array of non instanced package where moved because they were in the way of the migration. | PackageMigrationContext.h |
Overridden from FGCObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
PackageMigrationContext.h | ||
virtual FString GetReferencerName() |
PackageMigrationContext.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| PackageMigrationContext.h | |||
| PackageMigrationContext.h |