![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "UObject/PackageFileSummary.h"#include "HAL/PlatformMath.h"#include "Misc/Compression.h"#include "Runtime/Launch/Resources/Version.h"#include "Serialization/StructuredArchive.h"#include "UObject/Linker.h"#include "UObject/UObjectGlobals.h"Functions | |
| void | operator<< (FStructuredArchive::FSlot Slot, FPackageFileSummary &Sum) |
| FArchive & | operator<< (FArchive &Ar, FPackageFileSummary &Sum) |
| FArchive & operator<< | ( | FArchive & | Ar, |
| FPackageFileSummary & | Sum | ||
| ) |
I/O functions
| void operator<< | ( | FStructuredArchive::FSlot | Slot, |
| FPackageFileSummary & | Sum | ||
| ) |
The package file version number when this package was saved.
Lower 16 bits stores the UE3 engine version Upper 16 bits stores the UE licensee version For newer packages this is -7 -2 indicates presence of enum-based custom versions -3 indicates guid-based custom versions -4 indicates removal of the UE3 version. Packages saved with this ID cannot be loaded in older engine versions -5 indicates the replacement of writing out the "UE3 version" so older versions of engine can gracefully fail to open newer packages -6 indicates optimizations to how custom versions are being serialized -7 indicates the texture allocation info has been removed from the summary -8 indicates that the UE5 version has been added to the summary -9 indicates a contractual change in when early exits are required based on FileVersionTooNew. At or after this LegacyFileVersion, we support changing the PackageFileSummary serialization format for all bytes serialized after FileVersionLicensee, and that format change can be conditional on any of the versions parsed before that point. All packageloaders that understand the -9 legacyfileformat are required to early exit without further serialization at that point if FileVersionTooNew is true.