C# Класс FSO.Files.FAR3.FAR3Archive

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

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

Свойство Тип Описание
isReadingSomething bool

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

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

Disposes this FAR3Archive instance.

FAR3Archive ( string Path ) : System

Creates a new FAR3Archive instance from a path.

GetAllEntries ( ) : byte[]>>.List

Returns the entries of this FAR3Archive as byte arrays together with their corresponding FileIDs.

GetAllFAR3Entries ( ) : List

Returns the entries of this FAR3Archive as FAR3Entry instances in a List.

GetEntry ( Far3Entry Entry ) : byte[]

Gets an entry's data from a Far3Entry instance.

GetItemByID ( uint FileID ) : byte[]

Gets an entry from a FileID.

GetItemByID ( ulong ID ) : byte[]

Gets an entry from its ID (TypeID + FileID).

this ( string Filename ) : byte[]

Gets an entry's data from a filename.

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

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

Disposes this FAR3Archive instance.
public Dispose ( ) : void
Результат void

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

Creates a new FAR3Archive instance from a path.
public FAR3Archive ( string Path ) : System
Path string The path to the archive.
Результат System

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

Returns the entries of this FAR3Archive as byte arrays together with their corresponding FileIDs.
public GetAllEntries ( ) : byte[]>>.List
Результат byte[]>>.List

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

Returns the entries of this FAR3Archive as FAR3Entry instances in a List.
public GetAllFAR3Entries ( ) : List
Результат List

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

Gets an entry's data from a Far3Entry instance.
public GetEntry ( Far3Entry Entry ) : byte[]
Entry Far3Entry The Far3Entry instance.
Результат byte[]

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

Gets an entry from a FileID.
public GetItemByID ( uint FileID ) : byte[]
FileID uint The entry's FileID.
Результат byte[]

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

Gets an entry from its ID (TypeID + FileID).
public GetItemByID ( ulong ID ) : byte[]
ID ulong The ID of the entry.
Результат byte[]

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

Gets an entry's data from a filename.
public this ( string Filename ) : byte[]
Filename string The filename of the entry.
Результат byte[]

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

isReadingSomething публичное статическое свойство

public static bool isReadingSomething
Результат bool