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

◆ GetMusic() [1/2]

static IAudioTrack Terraria.ModLoader.MusicLoader.GetMusic ( Mod mod,
string musicPath )
inlinestatic

Gets the music track with the specified mod path. The path must not have a file extension.

Definition at line 60 of file MusicLoader.cs.

61 {
62 return GetMusic(mod.Name + "/" + musicPath);
63 }
static IAudioTrack GetMusic(Mod mod, string musicPath)
Gets the music track with the specified mod path. The path must not have a file extension.

References Terraria.ModLoader.MusicLoader.GetMusic(), and Terraria.ModLoader.Mod.Name.

Referenced by Terraria.ModLoader.MusicLoader.GetMusic(), and Terraria.ModLoader.MusicLoader.ResizeArrays().

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