C# Класс Files.DBPF.DBPFArchive

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
IndexEntryCount uint
IndexOffset uint
IndexSize uint

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool CleanUpNativeAndManagedResources ) : void

Описание методов

ContainsEntry() публичный Метод

Does this archive contain the specified entry?
public ContainsEntry ( UniqueFileID ID ) : bool
ID UniqueFileID ID of the entry to search for.
Результат bool

DBPFArchive() публичный Метод

public DBPFArchive ( string Path ) : System
Path string
Результат System

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool CleanUpNativeAndManagedResources ) : void
CleanUpNativeAndManagedResources bool
Результат void

GrabEntriesForGroupID() публичный Метод

public GrabEntriesForGroupID ( uint GroupID ) : List
GroupID uint
Результат List

GrabEntriesForTypeID() публичный Метод

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.
Результат List

GrabEntry() публичный Метод

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.
Результат Stream

ReadArchive() публичный Метод

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.
Результат bool

Описание свойств

IndexEntryCount публичное свойство

public uint IndexEntryCount
Результат uint

IndexOffset публичное свойство

public uint IndexOffset
Результат uint

IndexSize публичное свойство

public uint IndexSize
Результат uint