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

◆ FindActiveSound()

ActiveSound Terraria.Audio.SoundPlayer.FindActiveSound ( SoundStyle style)
inline

Definition at line 128 of file SoundPlayer.cs.

129 {
130 //IL_000f: Unknown result type (might be due to invalid IL or missing references)
131 //IL_0014: Unknown result type (might be due to invalid IL or missing references)
132 //IL_0015: Unknown result type (might be due to invalid IL or missing references)
133 //IL_0023: Unknown result type (might be due to invalid IL or missing references)
135 {
136 if (item.Value.Style == style)
137 {
138 return item.Value;
139 }
140 }
141 return null;
142 }
readonly SlotVector< ActiveSound > _trackedSounds
Definition SoundPlayer.cs:9

References Terraria.Audio.SoundPlayer._trackedSounds.

Referenced by Terraria.Audio.SoundEngine.FindActiveSound().