C# Class Files.AudioLogic.HitVM

Afficher le fichier Open project: Afr0Games/Project-Dollhouse Class Usage Examples

Méthodes publiques

Свойство Type Description
Events RegisteredEvent>.Dictionary
IsInitialized bool

Private Properties

Свойство Type Description
RegisterEvent void

Méthodes publiques

Méthode Description
GetGlobalVar ( int Location ) : int

Reads a global variable.

HitVM ( string StartupDir ) : System
KillTrack ( uint TrackID ) : void

Kills a track with the given ID.

PlayEvent ( string Event ) : void

Plays a track for a registered event.

PlayTrack ( uint TrackID ) : void

Starts playing a track with the given ID.

SetGlobalVar ( int Location, int Value ) : void

Sets a global variable to a value.

Step ( ) : void

Runs one instruction for each track that is currently playing.

Private Methods

Méthode Description
RegisterEvent ( HitResourcegroup RscGroup ) : void

Registers all the events in a resource group.

Method Details

GetGlobalVar() public static méthode

Reads a global variable.
public static GetGlobalVar ( int Location ) : int
Location int The location to read from.
Résultat int

HitVM() public méthode

public HitVM ( string StartupDir ) : System
StartupDir string
Résultat System

KillTrack() public static méthode

Kills a track with the given ID.
public static KillTrack ( uint TrackID ) : void
TrackID uint ID of the track to kill.
Résultat void

PlayEvent() public static méthode

Plays a track for a registered event.
public static PlayEvent ( string Event ) : void
Event string The name of the registered event to play.
Résultat void

PlayTrack() public static méthode

Starts playing a track with the given ID.
public static PlayTrack ( uint TrackID ) : void
TrackID uint ID of the track to play.
Résultat void

SetGlobalVar() public static méthode

Sets a global variable to a value.
public static SetGlobalVar ( int Location, int Value ) : void
Location int The location of the global variable to set.
Value int The value to set the variable to.
Résultat void

Step() public static méthode

Runs one instruction for each track that is currently playing.
public static Step ( ) : void
Résultat void

Property Details

Events public_oe static_oe property

All playable events registered by the VM.
public static Dictionary Events
Résultat RegisteredEvent>.Dictionary

IsInitialized public_oe static_oe property

public static bool IsInitialized
Résultat bool