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

Utility functions. 更多...

#include <EngineVersion.h>

+ 类 FEngineVersion 继承关系图:

Public 成员函数

void Empty ()
 Clears the object.
 
bool ExactMatch (const FEngineVersion &Other) const
 Checks whether this engine version is an exact match for another engine version
 
 FEngineVersion ()=default
 Empty constructor. 更多...
 
 FEngineVersion (uint16 InMajor, uint16 InMinor, uint16 InPatch, uint32 InChangelist, const FString &InBranch)
 Constructs a version from the given components.
 
const FString GetBranch () const
 Returns the branch name corresponding to this version.
 
bool IsCompatibleWith (const FEngineVersionBase &Other) const
 Checks compatibility with another version object.
 
void Set (uint16 InMajor, uint16 InMinor, uint16 InPatch, uint32 InChangelist, const FString &InBranch)
 Sets the version to the given values.
 
FString ToString (EVersionComponent LastComponent=EVersionComponent::Branch) const
 Generates a version string
 
- Public 成员函数 继承自 FEngineVersionBase
 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 const FEngineVersion & CompatibleWith ()
 Gets the earliest version which this engine maintains strict API and package compatibility with
 
static const FEngineVersion & Current ()
 Gets the current engine version
 
static bool Parse (const FString &Text, FEngineVersion &OutVersion)
 Parses a version object from a string. 更多...
 
static void TearDown ()
 Clears the current and compatible-with engine versions
 
- 静态 Public 成员函数 继承自 FEngineVersionBase
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
 

友元

CORE_API void operator<< (class FArchive &Ar, FEngineVersion &Version)
 Serialization functions
 

额外继承的成员函数

- Protected 属性 继承自 FEngineVersionBase
uint32 Changelist = 0
 Changelist number. 更多...
 
uint16 Major = 0
 Major version number.
 
uint16 Minor = 0
 Minor version number.
 
uint16 Patch = 0
 Patch version number.
 

详细描述

Utility functions.

构造及析构函数说明

◆ FEngineVersion()

FEngineVersion::FEngineVersion ( )
default

Empty constructor.

Initializes the version to 0.0.0-0.

成员函数说明

◆ Parse()

static bool FEngineVersion::Parse ( const FString &  Text,
FEngineVersion &  OutVersion 
)
static

Parses a version object from a string.

Returns true on success.


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