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

◆ MeowcartLandingSound()

static void Terraria.Mount.MeowcartLandingSound ( Player Player,
Vector2 Position,
int Width,
int Height )
inlinestaticprivate

Definition at line 541 of file Mount.cs.

542 {
543 //IL_0002: Unknown result type (might be due to invalid IL or missing references)
544 //IL_000d: Unknown result type (might be due to invalid IL or missing references)
545 SoundEngine.PlaySound(37, (int)Position.X + Width / 2, (int)Position.Y + Height / 2, 5);
546 }
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.Mount.Initialize().

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