C# 클래스 RocksmithToolkitLib.PsarcLoader.PSARC

상속: IDisposable
파일 보기 프로젝트 열기: rscustom/rocksmith-custom-song-toolkit 1 사용 예제들

Private Properties

프로퍼티 타입 설명
DeflateEntries void
ParseTOC void
RequiredPsarcSize long
WriteManifest void

공개 메소드들

메소드 설명
AddEntry ( Entry entry ) : void
AddEntry ( string name, Stream data ) : void
Dispose ( ) : void
InflateEntries ( ) : void

Inflates all entries in current psarc.

InflateEntry ( Entry entry, string destfilepath = "" ) : void

Inflates selected entry.

InflateEntry ( string name ) : void

Inflates the entry.

PSARC ( ) : System
PSARC ( bool Memory ) : System
Read ( Stream psarc, bool lazy = false ) : void
ReadManifest ( ) : void

Reads file names from the manifest.

Write ( Stream inputStream, bool encrypt = false, bool seek = true ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
DeflateEntries ( byte[]>.Dictionary &entryDeflatedData, List &zLengths ) : void

Packs Entries to zStream

ParseTOC ( ) : void
RequiredPsarcSize ( ) : long

Checks if psarc is not truncated.

WriteManifest ( ) : void

메소드 상세

AddEntry() 공개 메소드

public AddEntry ( Entry entry ) : void
entry Entry
리턴 void

AddEntry() 공개 메소드

public AddEntry ( string name, Stream data ) : void
name string
data Stream
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

InflateEntries() 공개 메소드

Inflates all entries in current psarc.
public InflateEntries ( ) : void
리턴 void

InflateEntry() 공개 메소드

Inflates selected entry.
public InflateEntry ( Entry entry, string destfilepath = "" ) : void
entry Entry Entry to unpack.
destfilepath string Destination file used instead of the temp file.
리턴 void

InflateEntry() 공개 메소드

Inflates the entry.
public InflateEntry ( string name ) : void
name string Name with extension.
리턴 void

PSARC() 공개 메소드

public PSARC ( ) : System
리턴 System

PSARC() 공개 메소드

public PSARC ( bool Memory ) : System
Memory bool
리턴 System

Read() 공개 메소드

public Read ( Stream psarc, bool lazy = false ) : void
psarc Stream
lazy bool
리턴 void

ReadManifest() 공개 메소드

Reads file names from the manifest.
public ReadManifest ( ) : void
리턴 void

Write() 공개 메소드

public Write ( Stream inputStream, bool encrypt = false, bool seek = true ) : void
inputStream Stream
encrypt bool
seek bool
리턴 void