C# Класс CrystalMpq.MpqFile

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

Private Properties

Свойство Тип Описание
MpqFile System

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

Метод Описание
Open ( ) : MpqFileStream

Opens the file for reading.

Files can only be opened once, so don't forget to close the stream after you've used it.

Open ( Stream baseStream ) : MpqFileStream

Opens a patched file for reading.

This method should only be used for explicitly providing a base stream when the MpqFile is a patch. Files can only be opened once, so don't forget to close the stream after you've used it.

Приватные методы

Метод Описание
MpqFile ( MpqArchive archive, uint index ) : System

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

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

Opens the file for reading.
Files can only be opened once, so don't forget to close the stream after you've used it.
public Open ( ) : MpqFileStream
Результат MpqFileStream

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

Opens a patched file for reading.
This method should only be used for explicitly providing a base stream when the MpqFile is a patch. Files can only be opened once, so don't forget to close the stream after you've used it.
This instance of is not a patch. is null.
public Open ( Stream baseStream ) : MpqFileStream
baseStream Stream A base stream.
Результат MpqFileStream