C# Class CASCExplorer.CASCHandler

Afficher le fichier Open project: WoW-Tools/CASCExplorer Class Usage Examples

Méthodes publiques

Méthode Description
Clear ( ) : void
FileExists ( int fileDataId ) : bool
FileExists ( string file ) : bool
FileExists ( ulong hash ) : bool
GetEncodingEntry ( ulong hash, EncodingEntry &enc ) : bool
OpenFile ( int fileDataId ) : Stream
OpenFile ( string name ) : Stream
OpenFile ( ulong hash ) : Stream
OpenLocalStorage ( string basePath, BackgroundWorkerEx worker = null ) : CASCHandler
OpenOnlineStorage ( string product, string region = "us", BackgroundWorkerEx worker = null ) : CASCHandler
OpenStorage ( CASCExplorer.CASCConfig config, BackgroundWorkerEx worker = null ) : CASCHandler
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
CASCHandler ( CASCExplorer.CASCConfig config, BackgroundWorkerEx worker ) : System
Open ( BackgroundWorkerEx worker, CASCExplorer.CASCConfig config ) : CASCHandler

Method Details

Clear() public méthode

public Clear ( ) : void
Résultat void

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

GetEncodingEntry() public méthode

public GetEncodingEntry ( ulong hash, EncodingEntry &enc ) : bool
hash ulong
enc EncodingEntry
Résultat bool

GetLocalDataStream() protected méthode

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

OpenFile() public méthode

public OpenFile ( int fileDataId ) : Stream
fileDataId 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, BackgroundWorkerEx worker = null ) : CASCHandler
basePath string
worker BackgroundWorkerEx
Résultat CASCHandler

OpenOnlineStorage() public static méthode

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

OpenStorage() public static méthode

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

SaveFileTo() public méthode

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