Method | Description | |
---|---|---|
DetectGameDir ( ) : string |
Tries to find the directory of the game and the mod folders, both workshop and default
|
|
DetectModDirs ( ) : IEnumerable |
Reads the mod directories from the XComEngine.ini file.
|
|
GetActiveMods ( ) : string[] |
Returns all mods, that are currently listed as "ActiveMods" in the XComModOptions.ini and the DefaultModOptions.ini files.
|
|
RunGame ( string gameDir, string args ) : void |
Runs the game with the selected arguments
|
|
SaveChanges ( Settings settings, bool disableMods ) : void |
Updates the XComModOptions.ini and XComEngine.ini according to currently enabled mods and configured mod directories.
|
Method | Description | |
---|---|---|
GetConfigFile ( string file, bool load = true ) : XCOM2Launcher.XCOM.DefaultConfigFile | ||
XcomEnvironment ( GameId game ) : System |
Method | Description | |
---|---|---|
ImportActiveMods ( Settings settings ) : void |
protected abstract GetConfigFile ( string file, bool load = true ) : XCOM2Launcher.XCOM.DefaultConfigFile | ||
file | string | |
load | bool | |
return | XCOM2Launcher.XCOM.DefaultConfigFile |
public abstract RunGame ( string gameDir, string args ) : void | ||
gameDir | string | |
args | string | |
return | void |
public SaveChanges ( Settings settings, bool disableMods ) : void | ||
settings | Settings | |
disableMods | bool | |
return | void |
protected XcomEnvironment ( GameId game ) : System | ||
game | GameId | |
return | System |