![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ObjectVersion.h>
Public Member Functions | |
| FPackageFileVersion ()=default | |
| FPackageFileVersion (int32 UE4Version, EUnrealEngineObjectUE5Version UE5Version) | |
| void | Reset () |
| int32 | ToValue () const |
| bool | operator!= (EUnrealEngineObjectUE4Version Version) const |
| bool | operator< (EUnrealEngineObjectUE4Version Version) const |
| bool | operator>= (EUnrealEngineObjectUE4Version Version) const |
| bool | operator!= (EUnrealEngineObjectUE5Version Version) const |
| bool | operator< (EUnrealEngineObjectUE5Version Version) const |
| bool | operator>= (EUnrealEngineObjectUE5Version Version) const |
| bool | IsCompatible (const FPackageFileVersion &Other) const |
| bool | operator== (const FPackageFileVersion &Other) const |
| bool | operator!= (const FPackageFileVersion &Other) const |
Static Public Member Functions | |
| static CORE_API FPackageFileVersion | CreateUE4Version (int32 Version) |
| static CORE_API FPackageFileVersion | CreateUE4Version (EUnrealEngineObjectUE4Version Version) |
Public Attributes | |
| int32 | FileVersionUE4 = 0 |
| int32 | FileVersionUE5 = 0 |
Friends | |
| CORE_API friend FArchive & | operator<< (FArchive &Ar, FPackageFileVersion &Version) |
| FCbWriter & | operator<< (FCbWriter &Writer, const FPackageFileVersion &Version) |
| bool | LoadFromCompactBinary (const FCbFieldView &FieldView, FPackageFileVersion &Version) |
This object combines all of our version enums into a single easy to use structure which allows us to update older version numbers independently of the newer version numbers.
|
default |
|
inline |
|
static |
|
static |
Creates and returns a FPackageFileVersion based on a single EUnrealEngineObjectUEVersion and no other versions.
|
inline |
Returns true if this object is compatible with the FPackageFileVersion passed in as the parameter. This means that all version numbers for the current object are equal or greater than the corresponding version numbers of the other structure.
|
inline |
FPackageFileVersion comparisons
|
inline |
UE4 version comparisons
|
inline |
UE5 version comparisons
|
inline |
UE4 version comparisons
|
inline |
UE5 version comparisons
|
inline |
FPackageFileVersion comparisons
|
inline |
UE4 version comparisons
|
inline |
UE5 version comparisons
|
inline |
Set all versions to the default state
|
inline |
Returns the highest valid version number which is considered to be the 'true' version number
|
friend |
|
friend |
Serialization members
|
friend |
Serialization members implemented as hidden friends
| int32 FPackageFileVersion::FileVersionUE4 = 0 |
| int32 FPackageFileVersion::FileVersionUE5 = 0 |