internal static int GetNumVanilla(SoundType type)
{
switch (type)
{
case SoundType.Custom:
return 0;
case SoundType.Item:
return Main.maxItemSounds + 1;
case SoundType.NPCHit:
return Main.maxNPCHitSounds + 1;
case SoundType.NPCKilled:
return Main.maxNPCKilledSounds + 1;
case SoundType.Music:
return Main.maxMusic;
}
return 0;
}