C# Class SEToolbox.Support.ToolboxUpdater

Afficher le fichier Open project: midspace/SEToolbox Class Usage Examples

Méthodes publiques

Méthode Description
DoFilesDiffer ( string file1, string file2 ) : bool
DoFilesDiffer ( string directory1, string directory2, string filename ) : bool
GetApplicationContentPath ( ) : string
GetApplicationFilePath ( ) : string
GetBinCachePath ( ) : string
GetGameRegistryFilePath ( ) : string

Looks for the Space Engineers install location in the Registry, which should return the form: "C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers"

GetSteamFilePath ( ) : string

Looks for the Steam install location in the Registry, which should return the form: "C:\Program Files (x86)\Steam"

IsBaseAssembliesChanged ( ) : bool
UpdateBaseFiles ( ) : bool
ValidateSpaceEngineersInstall ( string filePath ) : bool

Checks for key directory names from the game bin folder.

Private Methods

Méthode Description
IsRuningElevated ( ) : bool
RunElevated ( string fileName, string arguments, bool elevate, bool waitForExit ) : int?

Method Details

DoFilesDiffer() public static méthode

public static DoFilesDiffer ( string file1, string file2 ) : bool
file1 string
file2 string
Résultat bool

DoFilesDiffer() public static méthode

public static DoFilesDiffer ( string directory1, string directory2, string filename ) : bool
directory1 string
directory2 string
filename string
Résultat bool

GetApplicationContentPath() public static méthode

public static GetApplicationContentPath ( ) : string
Résultat string

GetApplicationFilePath() public static méthode

public static GetApplicationFilePath ( ) : string
Résultat string

GetBinCachePath() public static méthode

public static GetBinCachePath ( ) : string
Résultat string

GetGameRegistryFilePath() public static méthode

Looks for the Space Engineers install location in the Registry, which should return the form: "C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers"
public static GetGameRegistryFilePath ( ) : string
Résultat string

GetSteamFilePath() public static méthode

Looks for the Steam install location in the Registry, which should return the form: "C:\Program Files (x86)\Steam"
public static GetSteamFilePath ( ) : string
Résultat string

IsBaseAssembliesChanged() public static méthode

public static IsBaseAssembliesChanged ( ) : bool
Résultat bool

UpdateBaseFiles() public static méthode

public static UpdateBaseFiles ( ) : bool
Résultat bool

ValidateSpaceEngineersInstall() public static méthode

Checks for key directory names from the game bin folder.
public static ValidateSpaceEngineersInstall ( string filePath ) : bool
filePath string
Résultat bool