Navigation
API > API/Runtime > API/Runtime/Core
Utility functions.
| Name | FEngineVersion |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/EngineVersion.h |
| Include Path | #include "Misc/EngineVersion.h" |
Syntax
class FEngineVersion : public FEngineVersionBase
Inheritance Hierarchy
- FEngineVersionBase → FEngineVersion
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Empty constructor. Initializes the version to 0.0.0-0. | Misc/EngineVersion.h | ||
FEngineVersion
(
uint16 InMajor, |
Constructs a version from the given components. | Misc/EngineVersion.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Branch | FString | Branch name. | Misc/EngineVersion.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Empty() |
Clears the object. | Misc/EngineVersion.h | |
bool ExactMatch
(
const FEngineVersion& Other |
Checks whether this engine version is an exact match for another engine version | Misc/EngineVersion.h | |
const FString GetBranch() |
Returns the branch name corresponding to this version. | Misc/EngineVersion.h | |
const FString & GetBranchDescriptor() |
Misc/EngineVersion.h | ||
bool IsCompatibleWith
(
const FEngineVersionBase& Other |
Checks compatibility with another version object. | Misc/EngineVersion.h | |
void Set
(
uint16 InMajor, |
Sets the version to the given values. | Misc/EngineVersion.h | |
FString ToString
(
EVersionComponent LastComponent |
Generates a version string | Misc/EngineVersion.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FEngineVersion & CompatibleWith() |
Gets the earliest version which this engine maintains strict API and package compatibility with | Misc/EngineVersion.h | |
static const FEngineVersion & Current() |
Gets the current engine version | Misc/EngineVersion.h | |
static bool Parse
(
const FString& Text, |
Parses a version object from a string. Returns true on success. | Misc/EngineVersion.h | |
static void TearDown() |
Clears the current and compatible-with engine versions | Misc/EngineVersion.h |