tModLoader v0.11.8.9
A mod to make and play Terraria mods
|
Go to the source code of this file.
Namespaces | |
namespace | Terraria |
namespace | Terraria.ModLoader |
Enumerations | |
enum | Terraria.ModLoader.SoundType { Terraria.ModLoader.Item = 2 , Terraria.ModLoader.NPCHit = 3 , Terraria.ModLoader.NPCKilled = 4 , Terraria.ModLoader.Custom = 50 , Terraria.ModLoader.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... | |