|
TModLoader v1.4.4.9
TModLoader source code documentation
|
Registers a new music track with the provided mod and its local path to the sound file.
| mod | The mod that owns the music track. |
| musicPath | The provided mod's local path to the music track file, case-sensitive and without extensions. |
Definition at line 90 of file MusicLoader.cs.
References Terraria.ModLoader.Mod.loading, Terraria.ModLoader.MusicLoader.musicByPath, Terraria.ModLoader.MusicLoader.musicExtensions, Terraria.ModLoader.MusicLoader.ReserveMusicID(), and Terraria.ModLoader.MusicLoader.supportedExtensions.
Referenced by Terraria.ModLoader.MusicLoader.AutoloadMusic().
Here is the call graph for this function:
Here is the caller graph for this function: