|
|
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
|
| |
| | 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.
|
| |
|
|
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
|
| |
|
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
|
| |