메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
GetConfigFile ( string file, bool load = true ) : XCOM2Launcher.XCOM.DefaultConfigFile | ||
XcomEnvironment ( GameId game ) : System |
메소드 | 설명 | |
---|---|---|
ImportActiveMods ( Settings settings ) : void |
protected abstract GetConfigFile ( string file, bool load = true ) : XCOM2Launcher.XCOM.DefaultConfigFile | ||
file | string | |
load | bool | |
리턴 | XCOM2Launcher.XCOM.DefaultConfigFile |
public abstract RunGame ( string gameDir, string args ) : void | ||
gameDir | string | |
args | string | |
리턴 | void |
public SaveChanges ( Settings settings, bool disableMods ) : void | ||
settings | Settings | |
disableMods | bool | |
리턴 | void |