C# Class Terraria.ModLoader.IO.WAVCacheIO

Exibir arquivo Open project: JavidPack/TerraCustom

Public Properties

Property Type Description
ModCachePath string

Public Methods

Method Description
CacheMP3 ( string wavCacheFilename, byte data ) : SoundEffect

Private Methods

Method Description
ClearCache ( string modName ) : void
DeleteIfOlder ( string modFilename, string wavCacheFilename ) : void
GetWavStream ( string wavCachePath ) : Stream
SaveWavStream ( MemoryStream output, string wavCachePath ) : void
WAVCacheAvailable ( string wavCachePath ) : bool

Method Details

CacheMP3() public static method

public static CacheMP3 ( string wavCacheFilename, byte data ) : SoundEffect
wavCacheFilename string
data byte
return Microsoft.Xna.Framework.Audio.SoundEffect

Property Details

ModCachePath public_oe static_oe property

public static string ModCachePath
return string