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

Base class for the EngineVersion class. 更多...

#include <EngineVersionBase.h>

+ 类 FEngineVersionBase 继承关系图:

Public 成员函数

 FEngineVersionBase ()=default
 Empty constructor. 更多...
 
 FEngineVersionBase (uint16 InMajor, uint16 InMinor, uint16 InPatch=0, uint32 InChangelist=0)
 Constructs a version from the given components.
 
uint32 GetChangelist () const
 Returns the changelist number corresponding to this version.
 
FORCEINLINE uint16 GetMajor () const
 Returns the Major version number corresponding to this version.
 
FORCEINLINE uint16 GetMinor () const
 Returns the Minor version number corresponding to this version.
 
FORCEINLINE uint16 GetPatch () const
 Returns the Patch version number corresponding to this version.
 
bool HasChangelist () const
 Returns whether the engine version has a changelist component.
 
bool IsEmpty () const
 Returns whether the current version is empty.
 
bool IsLicenseeVersion () const
 Checks if the changelist number represents licensee changelist number.
 

静态 Public 成员函数

static uint32 EncodeLicenseeChangelist (uint32 Changelist)
 Encodes a licensee changelist number (by setting the top bit)
 
static EVersionComparison GetNewest (const FEngineVersionBase &First, const FEngineVersionBase &Second, EVersionComponent *OutComponent)
 Returns the newest of two versions, and the component at which they differ
 

Protected 属性

uint32 Changelist = 0
 Changelist number. 更多...
 
uint16 Major = 0
 Major version number.
 
uint16 Minor = 0
 Minor version number.
 
uint16 Patch = 0
 Patch version number.
 

详细描述

Base class for the EngineVersion class.

Holds basic version numbers.

构造及析构函数说明

◆ FEngineVersionBase()

FEngineVersionBase::FEngineVersionBase ( )
default

Empty constructor.

Initializes the version to 0.0.0-0.

类成员变量说明

◆ Changelist

uint32 FEngineVersionBase::Changelist = 0
protected

Changelist number.

This is used to arbitrate when Major/Minor/Patch version numbers match. Use GetChangelist() instead of using this member directly.


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