C# Class TagTool.Sounds.SoundPack

Show file Open project: TheGuardians/TagTool Class Usage Examples

Public Methods

Method Description
FindFileByID ( uint id ) : SoundPackFile

Finds a file in the pack by ID.

FindFolderByID ( int id ) : SoundPackFolder

Finds a folder in the pack by ID.

SoundPack ( EndianReader reader ) : System

Loads a SoundPack from a stream.

Private Methods

Method Description
ReadFileTable ( EndianReader reader ) : void
ReadFiles ( EndianReader reader ) : void
ReadFolderTable ( EndianReader reader ) : void
ReadHeader ( EndianReader reader ) : void

Method Details

FindFileByID() public method

Finds a file in the pack by ID.
public FindFileByID ( uint id ) : SoundPackFile
id uint The ID of the file to find.
return SoundPackFile

FindFolderByID() public method

Finds a folder in the pack by ID.
public FindFolderByID ( int id ) : SoundPackFolder
id int The folder's ID number.
return SoundPackFolder

SoundPack() public method

Loads a SoundPack from a stream.
public SoundPack ( EndianReader reader ) : System
reader TagTool.IO.EndianReader The EndianReader to read from.
return System