terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Terraria.Audio.LegacySoundPlayer Class Reference
+ Collaboration diagram for Terraria.Audio.LegacySoundPlayer:

Public Member Functions

 LegacySoundPlayer (IServiceProvider services)
 
void Reload ()
 
void CreateAllSoundInstances ()
 
SoundEffectInstance PlaySound (int type, int x=-1, int y=-1, int Style=1, float volumeScale=1f, float pitchOffset=0f)
 
SoundEffect GetTrackableSoundByStyleId (int id)
 
void StopAmbientSounds ()
 
bool DoesSoundScaleWithAmbientVolume (int soundType)
 

Public Attributes

Asset< SoundEffect >[] SoundDrip
 
SoundEffectInstance[] SoundInstanceDrip
 
Asset< SoundEffect >[] SoundLiquid
 
SoundEffectInstance[] SoundInstanceLiquid
 
Asset< SoundEffect >[] SoundMech
 
SoundEffectInstance[] SoundInstanceMech
 
Asset< SoundEffect >[] SoundDig
 
SoundEffectInstance[] SoundInstanceDig
 
int[] SoundDigPlayCount
 
Asset< SoundEffect >[] SoundThunder
 
SoundEffectInstance[] SoundInstanceThunder
 
Asset< SoundEffect >[] SoundResearch
 
SoundEffectInstance[] SoundInstanceResearch
 
Asset< SoundEffect >[] SoundTink
 
SoundEffectInstance[] SoundInstanceTink
 
Asset< SoundEffect >[] SoundCoin
 
SoundEffectInstance[] SoundInstanceCoin
 
Asset< SoundEffect >[] SoundPlayerHit
 
SoundEffectInstance[] SoundInstancePlayerHit
 
Asset< SoundEffect >[] SoundFemaleHit
 
SoundEffectInstance[] SoundInstanceFemaleHit
 
Asset< SoundEffectSoundPlayerKilled
 
SoundEffectInstance SoundInstancePlayerKilled
 
Asset< SoundEffectSoundGrass
 
SoundEffectInstance SoundInstanceGrass
 
Asset< SoundEffectSoundGrab
 
SoundEffectInstance SoundInstanceGrab
 
Asset< SoundEffectSoundPixie
 
SoundEffectInstance SoundInstancePixie
 
Asset< SoundEffect >[] SoundItem
 
SoundEffectInstance[] SoundInstanceItem
 
Asset< SoundEffect >[] SoundNpcHit
 
SoundEffectInstance[] SoundInstanceNpcHit
 
Asset< SoundEffect >[] SoundNpcKilled
 
SoundEffectInstance[] SoundInstanceNpcKilled
 
SoundEffectInstance SoundInstanceMoonlordCry
 
Asset< SoundEffectSoundDoorOpen
 
SoundEffectInstance SoundInstanceDoorOpen
 
Asset< SoundEffectSoundDoorClosed
 
SoundEffectInstance SoundInstanceDoorClosed
 
Asset< SoundEffectSoundMenuOpen
 
SoundEffectInstance SoundInstanceMenuOpen
 
Asset< SoundEffectSoundMenuClose
 
SoundEffectInstance SoundInstanceMenuClose
 
Asset< SoundEffectSoundMenuTick
 
SoundEffectInstance SoundInstanceMenuTick
 
Asset< SoundEffectSoundShatter
 
SoundEffectInstance SoundInstanceShatter
 
Asset< SoundEffectSoundCamera
 
SoundEffectInstance SoundInstanceCamera
 
Asset< SoundEffect >[] SoundZombie
 
SoundEffectInstance[] SoundInstanceZombie
 
Asset< SoundEffect >[] SoundRoar
 
SoundEffectInstance[] SoundInstanceRoar
 
Asset< SoundEffect >[] SoundSplash
 
SoundEffectInstance[] SoundInstanceSplash
 
Asset< SoundEffectSoundDoubleJump
 
SoundEffectInstance SoundInstanceDoubleJump
 
Asset< SoundEffectSoundRun
 
SoundEffectInstance SoundInstanceRun
 
Asset< SoundEffectSoundCoins
 
SoundEffectInstance SoundInstanceCoins
 
Asset< SoundEffectSoundUnlock
 
SoundEffectInstance SoundInstanceUnlock
 
Asset< SoundEffectSoundChat
 
SoundEffectInstance SoundInstanceChat
 
Asset< SoundEffectSoundMaxMana
 
SoundEffectInstance SoundInstanceMaxMana
 
Asset< SoundEffectSoundDrown
 
SoundEffectInstance SoundInstanceDrown
 
Asset< SoundEffect >[] TrackableSounds
 
SoundEffectInstance[] TrackableSoundInstances
 

Private Member Functions

void LoadAll ()
 
SoundEffectInstance CreateInstance (Asset< SoundEffect > asset)
 
Asset< SoundEffectLoad (string assetName)
 

Private Attributes

int _digLastFrame
 
readonly IServiceProvider _services
 
List< SoundEffectInstance_trackedInstances
 

Detailed Description

Definition at line 15 of file LegacySoundPlayer.cs.


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