C# Class CASCExplorer.CDNIndexHandler

Show file Open project: WoW-Tools/CASCExplorer Class Usage Examples

Public Properties

Property Type Description
Cache CDNCache

Public Methods

Method Description
Clear ( ) : void
GetIndexInfo ( MD5Hash key ) : IndexEntry
Initialize ( CASCExplorer.CASCConfig config, BackgroundWorkerEx worker ) : CDNIndexHandler
OpenConfigFileDirect ( CASCExplorer.CASCConfig cfg, string key ) : Stream
OpenDataFile ( IndexEntry entry ) : Stream
OpenDataFileDirect ( MD5Hash key ) : Stream
OpenFileDirect ( string url ) : Stream

Private Methods

Method Description
CDNIndexHandler ( CASCExplorer.CASCConfig cascConfig, BackgroundWorkerEx worker ) : System
DownloadIndexFile ( string archive, int i ) : void
OpenIndexFile ( string archive, int i ) : void
ParseIndex ( Stream stream, int i ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

GetIndexInfo() public method

public GetIndexInfo ( MD5Hash key ) : IndexEntry
key MD5Hash
return IndexEntry

Initialize() public static method

public static Initialize ( CASCExplorer.CASCConfig config, BackgroundWorkerEx worker ) : CDNIndexHandler
config CASCExplorer.CASCConfig
worker BackgroundWorkerEx
return CDNIndexHandler

OpenConfigFileDirect() public static method

public static OpenConfigFileDirect ( CASCExplorer.CASCConfig cfg, string key ) : Stream
cfg CASCExplorer.CASCConfig
key string
return Stream

OpenDataFile() public method

public OpenDataFile ( IndexEntry entry ) : Stream
entry IndexEntry
return Stream

OpenDataFileDirect() public method

public OpenDataFileDirect ( MD5Hash key ) : Stream
key MD5Hash
return Stream

OpenFileDirect() public static method

public static OpenFileDirect ( string url ) : Stream
url string
return Stream

Property Details

Cache public static property

public static CDNCache,CASCExplorer Cache
return CDNCache