|
Terraria v1.4.4.9
Terraria source code documentation
|
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) |
Private Member Functions | |
| void | LoadAll () |
| SoundEffectInstance | CreateInstance (Asset< SoundEffect > asset) |
| Asset< SoundEffect > | Load (string assetName) |
Private Attributes | |
| readonly IServiceProvider | _services |
| List< SoundEffectInstance > | _trackedInstances |
Definition at line 12 of file LegacySoundPlayer.cs.