Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Modules/BuildVersion.h |
Include |
#include "Modules/BuildVersion.h" |
class FBuildVersion
Stores the version information associated with a build
Name | Description | ||
---|---|---|---|
|
BranchName |
Name of the current branch, with '/' characters escaped as '+' |
|
|
BuildId |
The current build id. |
|
|
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 |
Name | Description | |
---|---|---|
|
FBuildVersion() |
Default constructor. Initializes the structure to empty. |
Name | Description | ||
---|---|---|---|
|
FEngineVersi... |
GetCompatibleEngineVersion() |
Get a compatible engine version object for this build version |
|
GetDefaultFileName() |
Get the default path to the build.version file on disk |
|
|
int |
GetEffectiveCompatibleChangelist() |
Gets the compatible changelist if set, otherwise the default compatible changelist |
|
FEngineVersi... |
GetEngineVersion() |
Get an engine version object for this build version |
|
GetFileNameForCurrentExecutable() |
Get the path to the version file for the current executable. |
|
|
TryRead ( |
Try to read a version file from disk |