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

◆ GetMusicSlot() [1/2]

static int Terraria.ModLoader.MusicLoader.GetMusicSlot ( Mod mod,
string musicPath )
inlinestatic

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

Definition at line 32 of file MusicLoader.cs.

33 {
34 return GetMusicSlot(mod.Name + "/" + musicPath);
35 }
static int GetMusicSlot(Mod mod, string musicPath)
Gets the music id of the track with the specified mod path. The path must not have a file extension.

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

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

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