Terraria.ModLoader.SoundLoader.GetSoundInstanceArray C# (CSharp) 메소드

GetSoundInstanceArray() 정적인 개인적인 메소드

static private GetSoundInstanceArray ( SoundType type ) : Microsoft.Xna.Framework.Audio.SoundEffectInstance[]
type SoundType
리턴 Microsoft.Xna.Framework.Audio.SoundEffectInstance[]
        internal static SoundEffectInstance[] GetSoundInstanceArray(SoundType type)
        {
            switch (type)
            {
                case SoundType.Custom:
                    return customSoundInstances;
                case SoundType.Item:
                    return Main.soundInstanceItem;
                case SoundType.NPCHit:
                    return Main.soundInstanceNPCHit;
                case SoundType.NPCKilled:
                    return Main.soundInstanceNPCKilled;
            }
            return null;
        }