C# 클래스 GameLoader.GameSuggestions

파일 보기 프로젝트 열기: zlepper/GameLoader 1 사용 예제들

공개 메소드들

메소드 설명
GetGameFolders ( ) : string[]

Gets possible game locations

GetGameFolders ( DirectoryInfo dir ) : string[]
GetGameFolders ( string dir ) : string[]

비공개 메소드들

메소드 설명
CheckFolder ( DirectoryInfo folder, List libraryLocations ) : bool

Checks if a folder match any know game library names

FindGalaxyClientFolder ( DirectoryInfo folder ) : string

Special formatter for the GOG client

FindOtherGameFolders ( ) : string[]

Checks all the drives on the computer for game locations

FindSteamCommonsFolder ( DirectoryInfo folder ) : string

Special formatter for the Steam client

FindUbisoftFolder ( DirectoryInfo folder ) : string

Special formatter for the ubisoft client

PathCombine ( string path1, string path2 ) : string
ScanRecursive ( int current, int max, List libraryLocations, DirectoryInfo folder ) : void

Check a folder for valid game folders, and adds them to the list And if not at the max level yet, scans sub folders

메소드 상세

GetGameFolders() 공개 정적인 메소드

Gets possible game locations
public static GetGameFolders ( ) : string[]
리턴 string[]

GetGameFolders() 공개 정적인 메소드

public static GetGameFolders ( DirectoryInfo dir ) : string[]
dir System.IO.DirectoryInfo
리턴 string[]

GetGameFolders() 공개 정적인 메소드

public static GetGameFolders ( string dir ) : string[]
dir string
리턴 string[]