C# Class Nanook.TheGhost.DatWad

Exibir arquivo Open project: Nanook/TheGHOST Class Usage Examples

Public Methods

Method Description
CreateDatWad ( QbKey songQk, EndianType endianType, string datFilename, string wadFilename, string songFilename, string guitarFilename, string rhythmFilename, string previewFilename ) : void
DatWad ( string datFilename, string wadFilename, EndianType endianType ) : System

Open existing DAT/WAD files

GetBackgroundAudioItems ( ) : Nanook.TheGhost.DatItem[]
ReadInternalFileName ( DatItem item ) : string
ReplaceFsbFileWithWav ( DatItem item, string wavFilename ) : void

Private Methods

Method Description
copy ( Stream from, Stream to, long length ) : void
parse ( ) : void
save ( ) : void
writeFsbToStream ( FileStream fsWrite, string wavFilename, string internalFilename ) : long

Method Details

CreateDatWad() public static method

public static CreateDatWad ( QbKey songQk, EndianType endianType, string datFilename, string wadFilename, string songFilename, string guitarFilename, string rhythmFilename, string previewFilename ) : void
songQk Nanook.QueenBee.Parser.QbKey
endianType EndianType
datFilename string
wadFilename string
songFilename string
guitarFilename string
rhythmFilename string
previewFilename string
return void

DatWad() public method

Open existing DAT/WAD files
public DatWad ( string datFilename, string wadFilename, EndianType endianType ) : System
datFilename string
wadFilename string
endianType EndianType
return System

GetBackgroundAudioItems() public method

public GetBackgroundAudioItems ( ) : Nanook.TheGhost.DatItem[]
return Nanook.TheGhost.DatItem[]

ReadInternalFileName() public method

public ReadInternalFileName ( DatItem item ) : string
item DatItem
return string

ReplaceFsbFileWithWav() public method

public ReplaceFsbFileWithWav ( DatItem item, string wavFilename ) : void
item DatItem
wavFilename string
return void