C# Class Files.DBPF.DBPFArchive

Inheritance: IDisposable
Afficher le fichier Open project: Afr0Games/Project-Dollhouse Class Usage Examples

Méthodes publiques

Свойство Type Description
IndexEntryCount uint
IndexOffset uint
IndexSize uint

Méthodes publiques

Méthode Description
ContainsEntry ( UniqueFileID ID ) : bool

Does this archive contain the specified entry?

DBPFArchive ( string Path ) : System
Dispose ( ) : void
GrabEntriesForGroupID ( uint GroupID ) : List
GrabEntriesForTypeID ( uint TypeID, uint GroupID ) : List

Graps all the entries with the specified TypeID in a particular group, specified by GroupID.

GrabEntry ( UniqueFileID ID ) : Stream

Returns an entry in this archive as a Stream instance. Throws a DBPFException if entry was not found.

ReadArchive ( bool ThrowException ) : bool

Reads all entries in this archive into memory.

Méthodes protégées

Méthode Description
Dispose ( bool CleanUpNativeAndManagedResources ) : void

Method Details

ContainsEntry() public méthode

Does this archive contain the specified entry?
public ContainsEntry ( UniqueFileID ID ) : bool
ID UniqueFileID ID of the entry to search for.
Résultat bool

DBPFArchive() public méthode

public DBPFArchive ( string Path ) : System
Path string
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool CleanUpNativeAndManagedResources ) : void
CleanUpNativeAndManagedResources bool
Résultat void

GrabEntriesForGroupID() public méthode

public GrabEntriesForGroupID ( uint GroupID ) : List
GroupID uint
Résultat List

GrabEntriesForTypeID() public méthode

Graps all the entries with the specified TypeID in a particular group, specified by GroupID.
public GrabEntriesForTypeID ( uint TypeID, uint GroupID ) : List
TypeID uint Return entries with this TypeID.
GroupID uint The group to look in.
Résultat List

GrabEntry() public méthode

Returns an entry in this archive as a Stream instance. Throws a DBPFException if entry was not found.
public GrabEntry ( UniqueFileID ID ) : Stream
ID UniqueFileID ID of the entry to grab from archive.
Résultat Stream

ReadArchive() public méthode

Reads all entries in this archive into memory.
public ReadArchive ( bool ThrowException ) : bool
ThrowException bool Wether or not to throw an exception if the archive was not a DBPF. If false, function will return.
Résultat bool

Property Details

IndexEntryCount public_oe property

public uint IndexEntryCount
Résultat uint

IndexOffset public_oe property

public uint IndexOffset
Résultat uint

IndexSize public_oe property

public uint IndexSize
Résultat uint