C# Class EQ_Zip.EQArchive

Afficher le fichier Open project: Shendare/EQZip Class Usage Examples

Méthodes publiques

Свойство Type Description
FilePath string
Files EQArchiveFile>.SortedList
IsDirty bool
SizeOnDisk UInt32
Status Result

Protected Properties

Свойство Type Description
_Filename string
_FilenameCRCTable UInt32[]
_FooterToken string
_MagicNumber UInt32

Méthodes publiques

Méthode Description
Add ( EQArchiveFile File ) : System.Result
Add ( EQArchiveFile File, bool ReplaceSimilarImage ) : Result
Add ( string Filename, bool ReplaceSimilarImage ) : Result
Add ( string Filename, bool ReplaceSimilarImage, byte FileContents ) : Result
FindFile ( string Filename ) : EQArchiveFile
FindFileOrSimilarImage ( string Filename ) : EQArchiveFile
Load ( string FilePath ) : EQArchive
Load ( string Filename, byte Contents ) : EQArchive
Remove ( EQArchiveFile File ) : Result
Remove ( string Filename ) : Result
Save ( ) : Result
Save ( string Filename ) : Result

Méthodes protégées

Méthode Description
GetFilenameCRC ( char Filename ) : UInt32
GetFilenameCRC ( char Filename, int Length ) : UInt32
GetFilenameCRC ( string Filename ) : UInt32

Private Methods

Méthode Description
EQArchive ( ) : System

Method Details

Add() public méthode

public Add ( EQArchiveFile File ) : System.Result
File EQArchiveFile
Résultat System.Result

Add() public méthode

public Add ( EQArchiveFile File, bool ReplaceSimilarImage ) : Result
File EQArchiveFile
ReplaceSimilarImage bool
Résultat Result

Add() public méthode

public Add ( string Filename, bool ReplaceSimilarImage ) : Result
Filename string
ReplaceSimilarImage bool
Résultat Result

Add() public méthode

public Add ( string Filename, bool ReplaceSimilarImage, byte FileContents ) : Result
Filename string
ReplaceSimilarImage bool
FileContents byte
Résultat Result

FindFile() public méthode

public FindFile ( string Filename ) : EQArchiveFile
Filename string
Résultat EQArchiveFile

FindFileOrSimilarImage() public méthode

public FindFileOrSimilarImage ( string Filename ) : EQArchiveFile
Filename string
Résultat EQArchiveFile

GetFilenameCRC() protected static méthode

protected static GetFilenameCRC ( char Filename ) : UInt32
Filename char
Résultat UInt32

GetFilenameCRC() protected static méthode

protected static GetFilenameCRC ( char Filename, int Length ) : UInt32
Filename char
Length int
Résultat UInt32

GetFilenameCRC() protected static méthode

protected static GetFilenameCRC ( string Filename ) : UInt32
Filename string
Résultat UInt32

Load() public static méthode

public static Load ( string FilePath ) : EQArchive
FilePath string
Résultat EQArchive

Load() public static méthode

public static Load ( string Filename, byte Contents ) : EQArchive
Filename string
Contents byte
Résultat EQArchive

Remove() public méthode

public Remove ( EQArchiveFile File ) : Result
File EQArchiveFile
Résultat Result

Remove() public méthode

public Remove ( string Filename ) : Result
Filename string
Résultat Result

Save() public méthode

public Save ( ) : Result
Résultat Result

Save() public méthode

public Save ( string Filename ) : Result
Filename string
Résultat Result

Property Details

FilePath public_oe property

public string FilePath
Résultat string

Files public_oe property

public SortedList Files
Résultat EQArchiveFile>.SortedList

IsDirty public_oe property

public bool IsDirty
Résultat bool

SizeOnDisk public_oe property

public UInt32 SizeOnDisk
Résultat UInt32

Status public_oe property

public Result Status
Résultat Result

_Filename protected_oe property

protected string _Filename
Résultat string

_FilenameCRCTable protected_oe static_oe property

protected static UInt32[] _FilenameCRCTable
Résultat UInt32[]

_FooterToken protected_oe static_oe property

protected static string _FooterToken
Résultat string

_MagicNumber protected_oe static_oe property

protected static UInt32 _MagicNumber
Résultat UInt32