![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <EngineVersionBase.h>
Inheritance diagram for FEngineVersionBase:Public Member Functions | |
| FEngineVersionBase ()=default | |
| CORE_API | FEngineVersionBase (uint16 InMajor, uint16 InMinor, uint16 InPatch=0, uint32 InChangelist=0) |
| CORE_API uint32 | GetChangelist () const |
| UE_FORCEINLINE_HINT uint16 | GetMajor () const |
| UE_FORCEINLINE_HINT uint16 | GetMinor () const |
| UE_FORCEINLINE_HINT uint16 | GetPatch () const |
| CORE_API bool | IsLicenseeVersion () const |
| CORE_API bool | IsEmpty () const |
| CORE_API bool | HasChangelist () const |
Static Public Member Functions | |
| static CORE_API EVersionComparison | GetNewest (const FEngineVersionBase &First, const FEngineVersionBase &Second, EVersionComponent *OutComponent) |
| static CORE_API uint32 | EncodeLicenseeChangelist (uint32 Changelist) |
Protected Attributes | |
| uint16 | Major = 0 |
| uint16 | Minor = 0 |
| uint16 | Patch = 0 |
| uint32 | Changelist = 0 |
Base class for the EngineVersion class. Holds basic version numbers.
|
default |
Empty constructor. Initializes the version to 0.0.0-0.
| FEngineVersionBase::FEngineVersionBase | ( | uint16 | InMajor, |
| uint16 | InMinor, | ||
| uint16 | InPatch = 0, |
||
| uint32 | InChangelist = 0 |
||
| ) |
Constructs a version from the given components.
Encodes a licensee changelist number (by setting the top bit)
| uint32 FEngineVersionBase::GetChangelist | ( | ) | const |
Returns the changelist number corresponding to this version.
|
inline |
Returns the Major version number corresponding to this version.
|
inline |
Returns the Minor version number corresponding to this version.
|
static |
Returns the newest of two versions, and the component at which they differ
|
inline |
Returns the Patch version number corresponding to this version.
| bool FEngineVersionBase::HasChangelist | ( | ) | const |
Returns whether the engine version has a changelist component.
| bool FEngineVersionBase::IsEmpty | ( | ) | const |
Returns whether the current version is empty.
| bool FEngineVersionBase::IsLicenseeVersion | ( | ) | const |
Checks if the changelist number represents licensee changelist number.
|
protected |
Changelist number. This is used to arbitrate when Major/Minor/Patch version numbers match. Use GetChangelist() instead of using this member directly.
|
protected |
Major version number.
|
protected |
Minor version number.
|
protected |
Patch version number.