C# 클래스 Files.DBPF.DBPFArchive

상속: IDisposable
파일 보기 프로젝트 열기: Afr0Games/Project-Dollhouse 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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