engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | Public 属性 | 所有成员列表
FBuildVersion类 参考

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::FBuildVersion ( )

Default constructor.

Initializes the structure to empty.

成员函数说明

◆ GetCompatibleEngineVersion()

FEngineVersion FBuildVersion::GetCompatibleEngineVersion ( ) const

Get a compatible engine version object for this build version

返回
New engine version object

◆ GetDefaultFileName()

static FString FBuildVersion::GetDefaultFileName ( )
static

Get the default path to the build.version file on disk

返回
Path to the Build.version file

◆ GetEffectiveCompatibleChangelist()

int FBuildVersion::GetEffectiveCompatibleChangelist ( ) const

Gets the compatible changelist if set, otherwise the default compatible changelist

返回
The compatible changelist

◆ GetEngineVersion()

FEngineVersion FBuildVersion::GetEngineVersion ( ) const

Get an engine version object for this build version

返回
New engine version object

◆ GetFileNameForCurrentExecutable()

static FString FBuildVersion::GetFileNameForCurrentExecutable ( )
static

Get the path to the version file for the current executable.

返回
Path to the target's version file

◆ TryRead()

static bool FBuildVersion::TryRead ( const FString &  FileName,
FBuildVersion &  OutVersion 
)
static

Try to read a version file from disk

参数
FileNamePath to the version file
OutVersionThe version information
返回
True if the version was read successfully, false otherwise

类成员变量说明

◆ BuildId

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.


该类的文档由以下文件生成: