C# Class Terraria.ModLoader.SoundLoader

Mostrar archivo Open project: bluemagic123/tModLoader Class Usage Examples

Public Methods

Method Description
GetSoundSlot ( SoundType type, string sound ) : int

Private Methods

Method Description
GetLegacySoundSlot ( SoundType type, string sound ) : LegacySoundStyle
GetNumVanilla ( SoundType type ) : int
GetSoundArray ( SoundType type ) : Microsoft.Xna.Framework.Audio.SoundEffect[]
GetSoundInstanceArray ( SoundType type ) : Microsoft.Xna.Framework.Audio.SoundEffectInstance[]
PlayModSound ( int type, int style, float volume, float pan, SoundEffectInstance &soundEffectInstance ) : bool
ReserveSoundID ( SoundType type ) : int
ResizeAndFillArrays ( ) : void
SoundCount ( SoundType type ) : int
SoundLoader ( ) : System
Unload ( ) : void

Method Details

GetSoundSlot() public static method

public static GetSoundSlot ( SoundType type, string sound ) : int
type SoundType
sound string
return int