![]() |
Terraria ModLoader
0.11.8.4
A mod to make and play Terraria mods
|
Go to the source code of this file.
Namespaces | |
namespace | Terraria.ModLoader |
Enumerations | |
enum | Terraria.ModLoader.SoundType { Terraria.ModLoader.SoundType.Item = 2, Terraria.ModLoader.SoundType.NPCHit = 3, Terraria.ModLoader.SoundType.NPCKilled = 4, Terraria.ModLoader.SoundType.Custom = 50, Terraria.ModLoader.SoundType.Music = 51 } |
This is an enum of the types of sound you can add to the game. This is used for determining whether a sound is a music or a sound effect. If it's a sound effect, it's also used for determining the "type" passed to Main.PlaySound (first parameter) that is required in order for a sound to play; 2 for item sounds, 3 for npcHit sounds, 4 for npcKilled sounds, and SoundLoader.customSoundType for anything else. More... | |