Method | Description | |
---|---|---|
LoadSettings ( ) : void |
Loads the user's settings into the control.
|
|
RequiredDirectoriesControlVM ( IEnvironmentInfo p_eifEnvironmentInfo, IGameModeDescriptor p_gmdGameModeInfo ) : System |
A simple constructor that initializes the object with the given dependencies.
|
|
RequiredDirectoriesControlVM ( IEnvironmentInfo p_eifEnvironmentInfo, IGameModeDescriptor p_gmdGameModeInfo, bool p_booUseAdditionalChecks ) : System |
A simple constructor that initializes the object with the given dependencies.
|
|
SaveRegistry ( string game, string modDirectory, string installInfoDirectory ) : void |
Check the correct path on the Registry.
|
|
SaveSettings ( bool p_booDelaySettings ) : void |
Persists the settings on this control.
|
|
ValidateSettings ( ) : bool |
Validates the settings on this control.
|
Method | Description | |
---|---|---|
CheckCleanInstallInfoFolder ( string p_strInstallInfo ) : bool |
Checks whether the selected Mods folder is clean.
|
|
CheckCleanModsFolder ( string p_strMods ) : bool |
Checks whether the selected Mods folder is clean.
|
|
ValidateDirectory ( string p_strPath, string p_strPathName, string p_strProperty ) : bool |
Validates the specified directory.
|
|
ValidateDirectory ( string p_strModPath, string p_strModPathName, string p_strModProperty, string p_strInstallPath, string p_strInstallPathName, string p_strInstallProperty, string p_strToolPath, string p_strToolPathName, string p_strToolProperty ) : bool |
Checks if the specified directory are equals.
|
|
ValidateInstallInfoDirectory ( ) : bool |
Validates the selected install info directory.
|
|
ValidateModDirectory ( ) : bool |
Validates the selected mod directory.
|
protected CheckCleanInstallInfoFolder ( string p_strInstallInfo ) : bool | ||
p_strInstallInfo | string | |
return | bool |
protected CheckCleanModsFolder ( string p_strMods ) : bool | ||
p_strMods | string | |
return | bool |
public RequiredDirectoriesControlVM ( IEnvironmentInfo p_eifEnvironmentInfo, IGameModeDescriptor p_gmdGameModeInfo ) : System | ||
p_eifEnvironmentInfo | IEnvironmentInfo | The application's envrionment info. |
p_gmdGameModeInfo | IGameModeDescriptor | The descriptor of the current game mode. |
return | System |
public RequiredDirectoriesControlVM ( IEnvironmentInfo p_eifEnvironmentInfo, IGameModeDescriptor p_gmdGameModeInfo, bool p_booUseAdditionalChecks ) : System | ||
p_eifEnvironmentInfo | IEnvironmentInfo | The application's envrionment info. |
p_gmdGameModeInfo | IGameModeDescriptor | The descriptor of the current game mode. |
p_booUseAdditionalChecks | bool | Whether to use additional checks to validate the folders. |
return | System |
public SaveRegistry ( string game, string modDirectory, string installInfoDirectory ) : void | ||
game | string | The game selected. |
modDirectory | string | The Mods path selected. |
installInfoDirectory | string | The Install Info path selected. |
return | void |
public SaveSettings ( bool p_booDelaySettings ) : void | ||
p_booDelaySettings | bool | Whether the settings should be delayed until the next application restart. |
return | void |
protected ValidateDirectory ( string p_strPath, string p_strPathName, string p_strProperty ) : bool | ||
p_strPath | string | |
p_strPathName | string | |
p_strProperty | string | |
return | bool |
protected ValidateDirectory ( string p_strModPath, string p_strModPathName, string p_strModProperty, string p_strInstallPath, string p_strInstallPathName, string p_strInstallProperty, string p_strToolPath, string p_strToolPathName, string p_strToolProperty ) : bool | ||
p_strModPath | string | |
p_strModPathName | string | |
p_strModProperty | string | |
p_strInstallPath | string | |
p_strInstallPathName | string | |
p_strInstallProperty | string | |
p_strToolPath | string | |
p_strToolPathName | string | |
p_strToolProperty | string | |
return | bool |
protected ValidateInstallInfoDirectory ( ) : bool | ||
return | bool |