internal static SoundEffect[] GetSoundArray(SoundType type) { switch (type) { case SoundType.Custom: return customSounds; case SoundType.Item: return Main.soundItem; case SoundType.NPCHit: return Main.soundNPCHit; case SoundType.NPCKilled: return Main.soundNPCKilled; } return null; }