public class BaseGameVersion
extends java.lang.Object
This Class is used to get the stock game version of the instance of IL-2 which is currently running. This information can be used to conditionally call methods or access fields depending on the base game version, therefore creating mods which can run on multiple different base game versions. This Class is intended to be used with other classes of this package, e.g. the "Reflection" class e.g. in order to get access to fields which are not part of the base game version a mod is currently compiled against.
Modifier and Type | Field and Description |
---|---|
static int |
SELECTOR_INFO_COPYRIGHT
This Parameter is used by the
selectorInfo method. |
static int |
SELECTOR_INFO_FILE_VERSION
This Parameter is used by the
selectorInfo method. |
static int |
SELECTOR_INFO_FILEVERSION
This Parameter is used by the
selectorInfo method. |
static int |
SELECTOR_INFO_PRODUCT_VERSION
This Parameter is used by the
selectorInfo method. |
static int |
SELECTOR_INFO_PRODUCTVERSION
This Parameter is used by the
selectorInfo method. |
static int |
SELECTOR_INFO_SPECIAL_BUILD
This Parameter is used by the
selectorInfo method. |
Modifier and Type | Method and Description |
---|---|
static boolean |
is409()
Checks whether the running game is IL-2 4.09m
|
static boolean |
is409orLater()
Checks whether the running game is IL-2 4.09m or later
|
static boolean |
is410()
Checks whether the running game is IL-2 4.10m or IL-2 4.10.1m
|
static boolean |
is4100()
Checks whether the running game is IL-2 4.10m (and NOT IL-2 4.10.1m)
|
static boolean |
is4100orLater()
Checks whether the running game is IL-2 4.10m or later
|
static boolean |
is4101()
Checks whether the running game is IL-2 4.10.1m
|
static boolean |
is4101orLater()
Checks whether the running game is IL-2 4.10.1m or later
|
static boolean |
is410orLater()
Checks whether the running game is IL-2 4.10m or later
|
static boolean |
is411()
Checks whether the running game is IL-2 4.11m or IL-2 4.11.1m
|
static boolean |
is4110()
Checks whether the running game is IL-2 4.11m (and NOT IL-2 4.11.1m)
|
static boolean |
is4110orLater()
Checks whether the running game is IL-2 4.11m or later
|
static boolean |
is4111()
Checks whether the running game is IL-2 4.11.1m
|
static boolean |
is4111orLater()
Checks whether the running game is IL-2 4.11.1m or later
|
static boolean |
is411orLater()
Checks whether the running game is IL-2 4.11m or later
|
static boolean |
is412()
Checks whether the running game is IL-2 4.12m or IL-2 4.12.1m or IL-2 4.12.2m
|
static boolean |
is4120()
Checks whether the running game is IL-2 4.12m (and neither IL-2 4.12.1m nor IL-2 4.12.2m)
|
static boolean |
is4120orLater()
Checks whether the running game is IL-2 4.12m or later
|
static boolean |
is4121()
Checks whether the running game is IL-2 4.12.1m
|
static boolean |
is4121orLater()
Checks whether the running game is IL-2 4.12.1m or later
|
static boolean |
is4122()
Checks whether the running game is IL-2 4.12.2m
|
static boolean |
is4122orLater()
Checks whether the running game is IL-2 4.12.2m or later
|
static boolean |
is412orLater()
Checks whether the running game is IL-2 4.12m or later
|
static boolean |
is413()
Checks whether the running game is IL-2 4.13m or IL-2 4.13.xm
|
static boolean |
is4130()
Checks whether the running game is IL-2 4.13.RC4m
|
static boolean |
is4130orLater()
Checks whether the running game is IL-2 4.13.RC4m or later
|
static boolean |
is4131()
Checks whether the running game is IL-2 4.13.1m
|
static boolean |
is4131orLater()
Checks whether the running game is IL-2 4.13.1m or later
|
static boolean |
is4132()
Checks whether the running game is IL-2 4.13.2m
|
static boolean |
is4132orLater()
Checks whether the running game is IL-2 4.13.2m or later
|
static boolean |
is4133()
Checks whether the running game is IL-2 4.13.3m
|
static boolean |
is4133orLater()
Checks whether the running game is IL-2 4.13.3m or later
|
static boolean |
is4134()
Checks whether the running game is IL-2 4.13.4m
|
static boolean |
is4134orLater()
Checks whether the running game is IL-2 4.13.4m or later
|
static boolean |
is413orLater()
Checks whether the running game is IL-2 4.13m or later
|
static boolean |
is413RC4()
Checks whether the running game is IL-2 4.13.RC4m
|
static boolean |
is413RC4orLater()
Checks whether the running game is IL-2 4.13.RC4m or later
|
static boolean |
is414()
Checks whether the running game is IL-2 4.14m or IL-2 4.14.xm
|
static boolean |
is414orLater()
Checks whether the running game is IL-2 4.14m or later
|
static boolean |
is415()
Checks whether the running game is IL-2 4.15m or IL-2 4.15.xm
|
static boolean |
is415orLater()
Checks whether the running game is IL-2 4.15m or later
|
static boolean |
is416()
Checks whether the running game is IL-2 4.16m or IL-2 4.16.xm
|
static boolean |
is416orLater()
Checks whether the running game is IL-2 4.16m or later
|
static boolean |
is417()
Checks whether the running game is IL-2 4.17m or IL-2 4.17.xm
|
static boolean |
is417orLater()
Checks whether the running game is IL-2 4.17m or later
|
static boolean |
is418()
Checks whether the running game is IL-2 4.18m or IL-2 4.18.xm
|
static boolean |
is418orLater()
Checks whether the running game is IL-2 4.18m or later
|
static boolean |
is419()
Checks whether the running game is IL-2 4.19m or IL-2 4.19.xm
|
static boolean |
is419orLater()
Checks whether the running game is IL-2 4.19m or later
|
static boolean |
is420()
Checks whether the running game is IL-2 4.20m or IL-2 4.20.xm
|
static boolean |
is420orLater()
Checks whether the running game is IL-2 4.20m or later
|
static java.lang.String |
selectorInfo(int infoRequested)
This function returns a given information from the IL-2 Selector used to run the IL-2 game.
|
public static final int SELECTOR_INFO_FILE_VERSION
selectorInfo
method.public static final int SELECTOR_INFO_PRODUCT_VERSION
selectorInfo
method.public static final int SELECTOR_INFO_FILEVERSION
selectorInfo
method.public static final int SELECTOR_INFO_PRODUCTVERSION
selectorInfo
method.public static final int SELECTOR_INFO_SPECIAL_BUILD
selectorInfo
method.public static final int SELECTOR_INFO_COPYRIGHT
selectorInfo
method.public static final boolean is409()
public static final boolean is410()
public static final boolean is4100()
public static final boolean is4101()
public static final boolean is411()
public static final boolean is4110()
public static final boolean is4111()
public static final boolean is412()
public static final boolean is4120()
public static final boolean is4121()
public static final boolean is4122()
public static final boolean is413()
public static final boolean is4130()
public static final boolean is413RC4()
public static final boolean is4131()
public static final boolean is4132()
public static final boolean is4133()
public static final boolean is4134()
public static final boolean is414()
public static final boolean is415()
public static final boolean is416()
public static final boolean is417()
public static final boolean is418()
public static final boolean is419()
public static final boolean is420()
public static final boolean is409orLater()
public static final boolean is410orLater()
public static final boolean is4100orLater()
public static final boolean is4101orLater()
public static final boolean is411orLater()
public static final boolean is4110orLater()
public static final boolean is4111orLater()
public static final boolean is412orLater()
public static final boolean is4120orLater()
public static final boolean is4121orLater()
public static final boolean is4122orLater()
public static final boolean is413orLater()
public static final boolean is4130orLater()
public static final boolean is413RC4orLater()
public static final boolean is4131orLater()
public static final boolean is4132orLater()
public static final boolean is4133orLater()
public static final boolean is4134orLater()
public static final boolean is414orLater()
public static final boolean is415orLater()
public static final boolean is416orLater()
public static final boolean is417orLater()
public static final boolean is418orLater()
public static final boolean is419orLater()
public static final boolean is420orLater()
public static final java.lang.String selectorInfo(int infoRequested)
infoRequested
- The int value "infoRequested" holding the type of information requested from the IL-2 Selector.