terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Play() [2/2]

SlotId Terraria.Audio.SoundPlayer.Play ( SoundStyle style,
Vector2 position )
inline

Definition at line 11 of file SoundPlayer.cs.

12 {
13 if (!true)
14 {
15 }
16 if (style != null && !true)
17 {
18 Vector2 screenPosition = Main.screenPosition;
19 int screenWidth = Main.screenWidth;
20 int screenHeight = Main.screenHeight;
21 }
24 return slotId;
25 }
class f__AnonymousType0<< Count > j__TPar
readonly SlotVector< ActiveSound > _trackedSounds

References Terraria.Audio.SoundPlayer._trackedSounds, j__TPar, Terraria.Main.screenHeight, Terraria.Main.screenPosition, and Terraria.Main.screenWidth.