C# Class SimTelemetry.Game.rFactor2.Garage.rFactor2FileList

显示文件 Open project: nlhans/SimTelemetry Class Usage Examples

Public Methods

Method Description
SearchFile ( string pattern ) : MAS2File

Searches for 1 file of a pattern.

SearchFile ( string directory, string pattern ) : MAS2File

Searches for 1 file of a pattern in a MAS archive.

SearchFiles ( string pattern ) : List

Searches for all vehicles with specific pattern. Returns all files matching. All files are locally cached.

SearchFiles ( string directory, string pattern ) : List

Searches for all vehicles with specific pattern in a MAS archive. Returns all files (in relative path to directory) in list. All files are locally cached.

rFactor2FileList ( string dir, string extensions ) : System

Method Details

SearchFile() public method

Searches for 1 file of a pattern.
public SearchFile ( string pattern ) : MAS2File
pattern string
return MAS2File

SearchFile() public method

Searches for 1 file of a pattern in a MAS archive.
public SearchFile ( string directory, string pattern ) : MAS2File
directory string
pattern string
return MAS2File

SearchFiles() public method

Searches for all vehicles with specific pattern. Returns all files matching. All files are locally cached.
public SearchFiles ( string pattern ) : List
pattern string File pattern. *.txt returns all txt-extension files.
return List

SearchFiles() public method

Searches for all vehicles with specific pattern in a MAS archive. Returns all files (in relative path to directory) in list. All files are locally cached.
public SearchFiles ( string directory, string pattern ) : List
directory string Absolute path to directory to search.
pattern string File pattern. *.txt returns all txt-extension files.
return List

rFactor2FileList() public method

public rFactor2FileList ( string dir, string extensions ) : System
dir string
extensions string
return System