메소드 | 설명 | |
---|---|---|
Accept ( string p_strGameModeId ) : void |
Accepts the current installation path that was found for the specified game mode as the correct installation path.
|
|
Cancel ( string p_strGameModeId ) : void |
Cancels the search for the specified game mode.
|
|
DisableButtonOk ( string p_strGameModeId ) : void |
Cancels the search for the specified game mode.
|
|
Find ( IEnumerable |
Searchs for the games described by the given game mode descriptors.
|
|
GameDiscoverer ( ) : System |
The default constructor.
|
|
GetFinalPath ( string p_strGameModeId ) : string |
Gets the confirmed installation path of the specified game mode. This will return |
|
HasCandidates ( string p_strGameModeId ) : bool |
Determines if the detector has found any installation path candidates that have not been rejected or accepted.
|
|
IsFound ( string p_strGameModeId ) : bool |
Determines of the installation path for the specified game mode has been found. This returns true if an installation path for the specified ame mode has been accepted, or if one one specified useing Override(string,string). |
|
Override ( string p_strGameModeId, string p_strInstallPath ) : void |
Overrides the installation path of the specified game mode with the given path.
|
|
Reject ( string p_strGameModeId ) : void |
Rejects the current installation path of the specified game mode, and indicates the detector should continue searching.
|
|
Verify ( string p_strGameModeId, string p_strInstallPath ) : bool |
Determines if the given installation path contains the specified game.
|
메소드 | 설명 | |
---|---|---|
FoundCandidate ( IGameModeDescriptor gmdGameMode, string p_strInstallationPath ) : void |
Adds the given path as an installation path candidate for the specified game.
|
|
OnDisableButOk ( |
Raises the PathFound event.
|
|
OnDisableButOk ( IGameModeDescriptor p_gmdGameMode, string p_strFoundPath ) : void |
Raises the PathFound event.
|
|
OnFileFound ( EventArgs |
Raises the FileSearcher.FileFound event. This determines the game mode whose file has been found, and raises the PathFound event as required. |
|
OnGameResolved ( |
Raises the GameResolved event.
|
|
OnGameResolved ( IGameModeDescriptor p_gmdGameMode, string p_strFoundPath ) : void |
Raises the PathFound event.
|
|
OnPathFound ( |
Raises the PathFound event.
|
|
OnPathFound ( IGameModeDescriptor p_gmdGameMode, string p_strFoundPath ) : void |
Raises the PathFound event.
|
|
OnTaskEnded ( |
Raises the IBackgroundTask.TaskEnded event. This raises the GameResolved event for any games that were not found. |
메소드 | 설명 | |
---|---|---|
Stop ( string p_strGameModeId ) : void |
Stops the search for the specified game mode.
|
public Accept ( string p_strGameModeId ) : void | ||
p_strGameModeId | string | The id of the game mode whose current installation path is to be accepted. |
리턴 | void |
public Cancel ( string p_strGameModeId ) : void | ||
p_strGameModeId | string | The id of the game mode for which to stop searching. |
리턴 | void |
public DisableButtonOk ( string p_strGameModeId ) : void | ||
p_strGameModeId | string | The id of the game mode for which to stop searching. |
리턴 | void |
public Find ( IEnumerable |
||
p_lstGameModesToFind | IEnumerable |
The game mode factorie of the games to search for. |
리턴 | void |
protected FoundCandidate ( IGameModeDescriptor gmdGameMode, string p_strInstallationPath ) : void | ||
gmdGameMode | IGameModeDescriptor | The game mode for which to set an installation path candidate. |
p_strInstallationPath | string | The installation path candidate. |
리턴 | void |
public GetFinalPath ( string p_strGameModeId ) : string | ||
p_strGameModeId | string | The id of the game mode for which to return the confirmed installation path. |
리턴 | string |
public HasCandidates ( string p_strGameModeId ) : bool | ||
p_strGameModeId | string | The id of the game mode for which it is to be determined if there are any installation path candidates. |
리턴 | bool |
public IsFound ( string p_strGameModeId ) : bool | ||
p_strGameModeId | string | the id of the game mode for which it is to be determined if the installation path has been found. |
리턴 | bool |
protected OnDisableButOk ( |
||
e | An |
|
리턴 | void |
protected OnDisableButOk ( IGameModeDescriptor p_gmdGameMode, string p_strFoundPath ) : void | ||
p_gmdGameMode | IGameModeDescriptor | The game mode which has been resolved. |
p_strFoundPath | string | The installaiton path that was found. |
리턴 | void |
protected OnFileFound ( EventArgs |
||
e | EventArgs |
The |
리턴 | void |
protected OnGameResolved ( |
||
e | An |
|
리턴 | void |
protected OnGameResolved ( IGameModeDescriptor p_gmdGameMode, string p_strFoundPath ) : void | ||
p_gmdGameMode | IGameModeDescriptor | The game mode which has been resolved. |
p_strFoundPath | string | The installaiton path that was found. |
리턴 | void |
protected OnPathFound ( |
||
e | An |
|
리턴 | void |
protected OnPathFound ( IGameModeDescriptor p_gmdGameMode, string p_strFoundPath ) : void | ||
p_gmdGameMode | IGameModeDescriptor | The game mode for which a path was found. |
p_strFoundPath | string | The installaiton path that was found. |
리턴 | void |
protected OnTaskEnded ( |
||
e | The |
|
리턴 | void |
public Override ( string p_strGameModeId, string p_strInstallPath ) : void | ||
p_strGameModeId | string | The id of the game mode whose installation path is to be overridden. |
p_strInstallPath | string | The path to use as the specified game mode's installation path. |
리턴 | void |
public Reject ( string p_strGameModeId ) : void | ||
p_strGameModeId | string | The id of the game mode whose current installation path is to be rejected. |
리턴 | void |
public Verify ( string p_strGameModeId, string p_strInstallPath ) : bool | ||
p_strGameModeId | string | The id of the game mode for which the path is to be verified. |
p_strInstallPath | string | The path to verify as being an installation path. |
리턴 | bool |