|
TModLoader v1.4.4.9
TModLoader source code documentation
|
Close is called before Unload, and may be called at any time when mod unloading is imminent (such as when downloading an update, or recompiling) Use this to release any additional file handles, or stop streaming music. Make sure to call base.Close() at the end May be called multiple times before Unload.
Definition at line 463 of file Mod.cs.
References Terraria.ModLoader.MusicLoader.CloseModStreams(), Terraria.ModLoader.Mod.File, Terraria.ModLoader.Mod.fileHandle, Terraria.ModLoader.Core.TmodFile.IsOpen, and Terraria.ModLoader.Core.TmodFile.path.
Referenced by Terraria.ModLoader.ModContent.UnloadModContent().
Here is the call graph for this function:
Here is the caller graph for this function: