Navigation
Unreal Engine C++ API Reference > Runtime > Core > Modules
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Modules/BuildVersion.h |
Include | #include "Modules/BuildVersion.h" |
Syntax
class FBuildVersion
Remarks
Stores the version information associated with a build
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FString | BranchName | Name of the current branch, with '/' characters escaped as '+' |
![]() |
FString | BuildId | The current build id. |
![]() |
FString | BuildVersion | The build version string. |
![]() |
int | Changelist | The changelist that the engine is being built from |
![]() |
int | CompatibleChangelist | The changelist that the engine maintains compatibility with |
![]() |
int | IsLicenseeVersion | Whether the changelist numbers are a licensee changelist |
![]() |
int | IsPromotedBuild | Whether the current build is a promoted build, that is, built strictly from a clean sync of the given changelist |
![]() |
int | MajorVersion | The major engine version (4 for UE4) |
![]() |
int | MinorVersion | The minor engine version |
![]() |
int | PatchVersion | The hotfix/patch version |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default constructor. Initializes the structure to empty. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FEngineVersion | Get a compatible engine version object for this build version | |
![]() ![]() |
FString | Get the default path to the build.version file on disk | |
![]() ![]() |
int | Gets the compatible changelist if set, otherwise the default compatible changelist | |
![]() ![]() |
FEngineVersion | Get an engine version object for this build version | |
![]() ![]() |
FString | Get the path to the version file for the current executable. | |
![]() ![]() |
bool | TryRead
(
const FString& FileName, |
Try to read a version file from disk |