C# Class FSO.Content.Audio

Manager for the audio content.
Afficher le fichier Open project: RHY3756547/FreeSO Class Usage Examples

Méthodes publiques

Свойство Type Description
EP2 FSO.Files.Formats.DBPF.DBPFFile
EP5Samps FSO.Files.Formats.DBPF.DBPFFile
Hitlists FSO.Files.Formats.DBPF.DBPFFile
SFXCache SoundEffect>.Dictionary
Stings DBPFFile
TSOAudio DBPFFile
TracksById Track>.Dictionary
tsov2 DBPFFile

Méthodes publiques

Méthode Description
Audio ( Content contentManager ) : System
GetHitlist ( uint InstanceID ) : Hitlist

Gets a Hitlist from a DBPF using its InstanceID.

GetSFX ( uint InstanceID ) : SoundEffect

Gets a sound effect from the sound effects cache.

Init ( ) : void

Initializes the audio manager.

List ( ) : List

Compiles the radio stations in the game to a list of AudioReference instances.

Private Methods

Méthode Description
AddTracksFrom ( DBPFFile dbpf ) : void

Gets a track from a DBPF using its InstanceID.

GetAudioFrom ( uint InstanceID, DBPFFile dbpf ) : byte[]

Gets a audio file from a DBPF using its InstanceID.

GetHitlistFrom ( uint InstanceID, DBPFFile dbpf ) : Hitlist

Gets a Hitlist from a DBPF using its InstanceID.

Method Details

Audio() public méthode

public Audio ( Content contentManager ) : System
contentManager Content
Résultat System

GetHitlist() public méthode

Gets a Hitlist from a DBPF using its InstanceID.
public GetHitlist ( uint InstanceID ) : Hitlist
InstanceID uint The InstanceID of the Hitlist.
Résultat FSO.Files.HIT.Hitlist

GetSFX() public méthode

Gets a sound effect from the sound effects cache.
public GetSFX ( uint InstanceID ) : SoundEffect
InstanceID uint The InstanceID of the sound effect.
Résultat Microsoft.Xna.Framework.Audio.SoundEffect

Init() public méthode

Initializes the audio manager.
public Init ( ) : void
Résultat void

List() public méthode

Compiles the radio stations in the game to a list of AudioReference instances.
public List ( ) : List
Résultat List

Property Details

EP2 public_oe property

public DBPFFile,FSO.Files.Formats.DBPF EP2
Résultat FSO.Files.Formats.DBPF.DBPFFile

EP5Samps public_oe property

public DBPFFile,FSO.Files.Formats.DBPF EP5Samps
Résultat FSO.Files.Formats.DBPF.DBPFFile

Hitlists public_oe property

public DBPFFile,FSO.Files.Formats.DBPF Hitlists
Résultat FSO.Files.Formats.DBPF.DBPFFile

SFXCache public_oe property

public Dictionary SFXCache
Résultat SoundEffect>.Dictionary

Stings public_oe property

public DBPFFile Stings
Résultat DBPFFile

TSOAudio public_oe property

public DBPFFile TSOAudio
Résultat DBPFFile

TracksById public_oe property

public Dictionary TracksById
Résultat Track>.Dictionary

tsov2 public_oe property

public DBPFFile tsov2
Résultat DBPFFile