FEngineVersionBase

Base class for the EngineVersion class. Holds basic version numbers.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FEngineVersionBase

FEngineVersion

References

Module

Core

Header

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

Include

#include "Misc/EngineVersionBase.h"

Syntax

class FEngineVersionBase

Remarks

Base class for the EngineVersion class. Holds basic version numbers.

Variables

Name Description

Protected variable

uint32

 

Changelist

Changelist number.

Protected variable

uint16

 

Major

Major version number.

Protected variable

uint16

 

Minor

Minor version number.

Protected variable

uint16

 

Patch

Patch version number.

Constructors

Name Description

Public function

FEngineVersionBase()

Empty constructor. Initializes the version to 0.0.0-0.

Public function

FEngineVersionBase

(
    uint16 InMajor,
    uint16 InMinor,
    uint16 InPatch,
    uint32 InChangelist
)

Constructs a version from the given components.

Functions

Name Description

Public function Static

uint32

 

EncodeLicenseeChangelist

(
    uint32 Changelist
)

Encodes a licensee changelist number (by setting the top bit)

Public function Const

uint32

 

GetChangelist()

Returns the changelist number corresponding to this version.

Public function Const

uint16

 

GetMajor()

Returns the Major version number corresponding to this version.

Public function Const

uint16

 

GetMinor()

Returns the Minor version number corresponding to this version.

Public function Static

EVersionComp...

 

GetNewest

(
    const FEngineVersionBase& First,
    const FEngineVersionBase& Second,
    EVersionComponent* OutComponen...
)

Returns the newest of two versions, and the component at which they differ

Public function Const

uint16

 

GetPatch()

Returns the Patch version number corresponding to this version.

Public function Const

bool

 

HasChangelist()

Returns whether the engine version has a changelist component.

Public function Const

bool

 

IsEmpty()

Returns whether the current version is empty.

Public function Const

bool

 

IsLicenseeVersion()

Checks if the changelist number represents licensee changelist number.