FEngineVersion

Utility functions.

Windows
MacOS
Linux

Inheritance Hierarchy

FEngineVersionBase

FEngineVersion

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/EngineVersion.h

Include

#include "Misc/EngineVersion.h"

Syntax

class FEngineVersion : public FEngineVersionBase

Remarks

Utility functions.

Constructors

Name Description

Public function

FEngineVersion()

Empty constructor. Initializes the version to 0.0.0-0.

Public function

FEngineVersion

(
    uint16 InMajor,
    uint16 InMinor,
    uint16 InPatch,
    uint32 InChangelist,
    const FString& InBranch
)

Constructs a version from the given components.

Functions

Name Description

Public function Static

const FEngin...

 

CompatibleWith()

Gets the earliest version which this engine maintains strict API and package compatibility with

Public function Static

const FEngin...

 

Current()

Gets the current engine version

Public function

void

 

Empty()

Clears the object.

Public function Const

bool

 

ExactMatch

(
    const FEngineVersion& Other
)

Checks whether this engine version is an exact match for another engine version

Public function Const

const FStrin...

 

GetBranch()

Returns the branch name corresponding to this version.

Public function Const

const FStrin...

 

GetBranchDescriptor()

Public function Const

bool

 

IsCompatibleWith

(
    const FEngineVersionBase& Other
)

Checks compatibility with another version object.

Public function Static

bool

 

Parse

(
    const FString& Text,
    FEngineVersion& OutVersion
)

Parses a version object from a string. Returns true on success.

Public function

void

 

Set

(
    uint16 InMajor,
    uint16 InMinor,
    uint16 InPatch,
    uint32 InChangelist,
    const FString& InBranch
)

Sets the version to the given values.

Public function Static

void

 

TearDown()

Clears the current and compatible-with engine versions

Public function Const

FString

 

ToString

(
    EVersionComponent LastComponent
)

Generates a version string

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss