Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.Audio.SoundEngine Class Reference

Static Public Member Functions

static void Initialize ()
 
static void Load (IServiceProvider services)
 
static void Update ()
 
static void Reload ()
 
static void PlaySound (int type, Vector2 position, int style=1)
 
static SoundEffectInstance PlaySound (LegacySoundStyle type, Vector2 position)
 
static SoundEffectInstance PlaySound (LegacySoundStyle type, int x=-1, int y=-1)
 
static SoundEffectInstance PlaySound (int type, int x=-1, int y=-1, int Style=1, float volumeScale=1f, float pitchOffset=0f)
 
static ActiveSound GetActiveSound (SlotId id)
 
static SlotId PlayTrackedSound (SoundStyle style, Vector2 position)
 
static SlotId PlayTrackedLoopedSound (SoundStyle style, Vector2 position, ActiveSound.LoopedPlayCondition loopingCondition=null)
 
static SlotId PlayTrackedSound (SoundStyle style)
 
static void StopTrackedSounds ()
 
static SoundEffect GetTrackableSoundByStyleId (int id)
 
static void StopAmbientSounds ()
 
static ActiveSound FindActiveSound (SoundStyle style)
 

Static Public Attributes

static LegacySoundPlayer LegacySoundPlayer
 
static SoundPlayer SoundPlayer
 
static bool AreSoundsPaused
 

Properties

static bool IsAudioSupported [get, private set]
 

Static Private Member Functions

static bool TestAudioSupport ()
 

Detailed Description

Definition at line 9 of file SoundEngine.cs.


The documentation for this class was generated from the following file: