Stores the version information associated with a build 更多...
#include <BuildVersion.h>
Public 成员函数 | |
| FBuildVersion () | |
| Default constructor. 更多... | |
| FEngineVersion | GetCompatibleEngineVersion () const |
| Get a compatible engine version object for this build version 更多... | |
| int | GetEffectiveCompatibleChangelist () const |
| Gets the compatible changelist if set, otherwise the default compatible changelist 更多... | |
| FEngineVersion | GetEngineVersion () const |
| Get an engine version object for this build version 更多... | |
静态 Public 成员函数 | |
| static FString | GetDefaultFileName () |
| Get the default path to the build.version file on disk 更多... | |
| static FString | GetFileNameForCurrentExecutable () |
| Get the path to the version file for the current executable. 更多... | |
| static bool | TryRead (const FString &FileName, FBuildVersion &OutVersion) |
| Try to read a version file from disk 更多... | |
Public 属性 | |
| 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 | |
Stores the version information associated with a build
| FBuildVersion::FBuildVersion | ( | ) |
Default constructor.
Initializes the structure to empty.
| FEngineVersion FBuildVersion::GetCompatibleEngineVersion | ( | ) | const |
Get a compatible engine version object for this build version
|
static |
Get the default path to the build.version file on disk
| int FBuildVersion::GetEffectiveCompatibleChangelist | ( | ) | const |
Gets the compatible changelist if set, otherwise the default compatible changelist
| FEngineVersion FBuildVersion::GetEngineVersion | ( | ) | const |
Get an engine version object for this build version
|
static |
Get the path to the version file for the current executable.
|
static |
Try to read a version file from disk
| FileName | Path to the version file |
| OutVersion | The version information |
| FString FBuildVersion::BuildId |
The current build id.
This will be generated automatically whenever engine binaries change if not set in the default Engine/Build/Build.version.