FGantryVersionRange
A range of game versions, oldest and newest included, written as dotted numbers ("1.4.2").
Leave either end empty for no limit on that side. Versions compare number by number, so "1.10.0" is newer than "1.9.0", and "1.2" equals "1.2.0".
Properties
| Property | Type | Default | Description |
|---|---|---|---|
MinVersion read-only | FString | Oldest game build this content works with. Empty means no lower bound. | |
MaxVersion read-only | FString | Newest game build this content works with. Empty means no upper bound. |
C++
Public C++ members that Blueprint does not see.
IsUnbounded
bool
Returns: True when both ends are empty, i.e. the content declares no opinion.
Contains
bool
Whether a version falls inside the window, bounds included.
Version:A dotted version ("1.4.2").
Returns: True when inside. An empty Version fails any bounded window; non-numeric components compare as zero.
ToString
FString
Returns: A human-readable form ("1.2 to 1.4", "any"), for logs and error surfaces.
Compare
static int32
Component-wise numeric compare of two dotted version strings.
Missing trailing components count as zero, so "1.2" == "1.2.0".
A:The first version.
B:The second version.
Returns: Less than 0 when A is older, 0 when equal, more than 0 when A is newer.