C# Class CrystalMpq.WoW.ArchiveDetection.CataclysmAndUpwardsVersionHandler

Inheritance: VersionHandler
显示文件 Open project: sgraf812/crystalmpq

Public Methods

Method Description
CollectArchives ( string dataPath ) : IList
CollectLanguagePackArchives ( string localePath, string wowCultureId ) : IList

Protected Methods

Method Description
ExpansionArchivesUpTo ( int currentExpansion, string dataPath, string archiveFormat, WoWArchiveKind archiveKind ) : IEnumerable

Provides archive information for all current expansion archives.

GetPatchArchives ( string dataPath, WoWArchiveKind archiveKind, string patchFilePattern ) : IEnumerable

Method Details

CollectArchives() public method

public CollectArchives ( string dataPath ) : IList
dataPath string
return IList

CollectLanguagePackArchives() public method

public CollectLanguagePackArchives ( string localePath, string wowCultureId ) : IList
localePath string
wowCultureId string
return IList

ExpansionArchivesUpTo() protected static method

Provides archive information for all current expansion archives.
protected static ExpansionArchivesUpTo ( int currentExpansion, string dataPath, string archiveFormat, WoWArchiveKind archiveKind ) : IEnumerable
currentExpansion int The number of the current expansion, i.e. 4 for Cataclysm.
dataPath string Path to WoW's Data folder.
archiveFormat string Archive file format string used to expand the file name.
archiveKind WoWArchiveKind
return IEnumerable

GetPatchArchives() protected static method

protected static GetPatchArchives ( string dataPath, WoWArchiveKind archiveKind, string patchFilePattern ) : IEnumerable
dataPath string
archiveKind WoWArchiveKind
patchFilePattern string
return IEnumerable