C# Класс GameLoader.GameSuggestions

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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[]