tModLoader v2024.10
A mod to make and play Terraria mods
|
Public Member Functions | |
ActiveSound? | FindActiveSound (in SoundStyle style) |
void | PauseAll () |
SlotId | Play (in SoundStyle style, Vector2? position=null, SoundUpdateCallback? updateCallback=null) |
void | Reload () |
void | ResumeAll () |
void | StopAll () |
void | StopAll (in SoundStyle style) |
bool | TryGetActiveSound (SlotId id, [NotNullWhen(true)] out ActiveSound? result) |
Safely attempts to get a currently playing ActiveSound instance, tied to the provided SlotId. | |
void | Update () |