![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Classes | |
| struct | FExistingPackageReference |
| struct | FExistingPackageReferences |
| struct | FNewPackageReference |
| struct | FNewPackageReferences |
| struct | FObjectAndPackageIndex |
| class | FReplaceObjectReferencesArchive |
Functions | |
| void | MarkPackageReplaced (UPackage *InPackage) |
| void | ClearPackageReplaced (UPackage *InPackage) |
| void | MakeObjectPurgeable (UObject *InObject) |
| void | MakePackagePurgeable (UPackage *InPackage) |
| void | DumpExternalReferences (UObject *InObject, UPackage *InPackage) |
| UPackage * | ValidateAndPreparePackageForReload (UPackage *InExistingPackage) |
| UPackage * | LoadReplacementPackage (UPackage *InExistingPackage, const uint32 InLoadFlags) |
| TSharedPtr< FPackageReloadedEvent > | GeneratePackageReloadEvent (UPackage *InExistingPackage, UPackage *InNewPackage) |
| void | SortPackagesForReload (const FName PackageName, TSet< FName > &ProcessedPackages, TArray< UPackage * > &SortedPackagesToReload, const TMap< FName, UPackage * > &AllPackagesToReload, IAssetRegistryInterface &InAssetRegistry) |
Given a package, remove the RF_NewerVersionExists flag from it and all its sub-objects.
Given an object, dump anything that is still externally referencing it to the log.
| TSharedPtr< FPackageReloadedEvent > PackageReloadInternal::GeneratePackageReloadEvent | ( | UPackage * | InExistingPackage, |
| UPackage * | InNewPackage | ||
| ) |
Given an old and new package, generate the event payload data needed to fix-up references to objects from the old package to the corresponding objects in the new package.
| UPackage * PackageReloadInternal::LoadReplacementPackage | ( | UPackage * | InExistingPackage, |
| const uint32 | InLoadFlags | ||
| ) |
Given a package, reload it from disk.
Given an object, put it into a state where a GC may purge it (assuming there are no external references).
Given a package, put it into a state where a GC may purge it (assuming there are no external references).
Given a package, mark it and all its sub-objects with the RF_NewerVersionExists flag so that other systems can detect that they're being replaced.
| void PackageReloadInternal::SortPackagesForReload | ( | const FName | PackageName, |
| TSet< FName > & | ProcessedPackages, | ||
| TArray< UPackage * > & | SortedPackagesToReload, | ||
| const TMap< FName, UPackage * > & | AllPackagesToReload, | ||
| IAssetRegistryInterface & | InAssetRegistry | ||
| ) |