TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ PlayTrackedLoopedSound()

static SlotId Terraria.Audio.SoundEngine.PlayTrackedLoopedSound ( in SoundStyle style,
Vector2 position,
Func< bool >? loopingCondition = null )
inlinestaticpackage

Definition at line 230 of file SoundEngine.cs.

231 {
232 //IL_000e: Unknown result type (might be due to invalid IL or missing references)
234 return PlaySound(in style, position, (ActiveSound _) => loopingCondition2());
235 }
static SlotId PlaySound(in SoundStyle? style, Vector2? position=null, SoundUpdateCallback? updateCallback=null)
Attempts to play a sound style with the provided sound style (if it's not null), and returns a valid ...

References Terraria.Audio.SoundEngine.PlaySound().

Referenced by Terraria.Projectile.AI_195_JimsDrone().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: