C# Class CASCExplorer.CASCHandlerLite

Inheritance: CASCHandlerBase
Afficher le fichier Open project: WoW-Tools/CASCExplorer

Méthodes publiques

Méthode Description
FileExists ( int fileDataId ) : bool
FileExists ( string file ) : bool
FileExists ( ulong hash ) : bool
OpenFile ( int filedata ) : Stream
OpenFile ( string name ) : Stream
OpenFile ( ulong hash ) : Stream
OpenLocalStorage ( string basePath, LocaleFlags locale, BackgroundWorkerEx worker = null ) : CASCHandlerLite
OpenOnlineStorage ( string product, LocaleFlags locale, string region = "us", BackgroundWorkerEx worker = null ) : CASCHandlerLite
OpenStorage ( LocaleFlags locale, CASCExplorer.CASCConfig config, BackgroundWorkerEx worker = null ) : CASCHandlerLite
SaveFileTo ( ulong hash, string extractPath, string fullName ) : void

Méthodes protégées

Méthode Description
ExtractFileOnline ( MD5Hash key, string path, string name ) : void
GetLocalDataStream ( MD5Hash key ) : Stream
OpenFileOnline ( MD5Hash key ) : Stream

Private Methods

Méthode Description
CASCHandlerLite ( CASCExplorer.CASCConfig config, LocaleFlags locale, BackgroundWorkerEx worker ) : System
Open ( LocaleFlags locale, BackgroundWorkerEx worker, CASCExplorer.CASCConfig config ) : CASCHandlerLite

Method Details

ExtractFileOnline() protected méthode

protected ExtractFileOnline ( MD5Hash key, string path, string name ) : void
key MD5Hash
path string
name string
Résultat void

FileExists() public méthode

public FileExists ( int fileDataId ) : bool
fileDataId int
Résultat bool

FileExists() public méthode

public FileExists ( string file ) : bool
file string
Résultat bool

FileExists() public méthode

public FileExists ( ulong hash ) : bool
hash ulong
Résultat bool

GetLocalDataStream() protected méthode

protected GetLocalDataStream ( MD5Hash key ) : Stream
key MD5Hash
Résultat Stream

OpenFile() public méthode

public OpenFile ( int filedata ) : Stream
filedata int
Résultat Stream

OpenFile() public méthode

public OpenFile ( string name ) : Stream
name string
Résultat Stream

OpenFile() public méthode

public OpenFile ( ulong hash ) : Stream
hash ulong
Résultat Stream

OpenFileOnline() protected méthode

protected OpenFileOnline ( MD5Hash key ) : Stream
key MD5Hash
Résultat Stream

OpenLocalStorage() public static méthode

public static OpenLocalStorage ( string basePath, LocaleFlags locale, BackgroundWorkerEx worker = null ) : CASCHandlerLite
basePath string
locale LocaleFlags
worker BackgroundWorkerEx
Résultat CASCHandlerLite

OpenOnlineStorage() public static méthode

public static OpenOnlineStorage ( string product, LocaleFlags locale, string region = "us", BackgroundWorkerEx worker = null ) : CASCHandlerLite
product string
locale LocaleFlags
region string
worker BackgroundWorkerEx
Résultat CASCHandlerLite

OpenStorage() public static méthode

public static OpenStorage ( LocaleFlags locale, CASCExplorer.CASCConfig config, BackgroundWorkerEx worker = null ) : CASCHandlerLite
locale LocaleFlags
config CASCExplorer.CASCConfig
worker BackgroundWorkerEx
Résultat CASCHandlerLite

SaveFileTo() public méthode

public SaveFileTo ( ulong hash, string extractPath, string fullName ) : void
hash ulong
extractPath string
fullName string
Résultat void