Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
LegacySoundStyle (int soundId, int style, SoundType type=SoundType.Sound) | |
LegacySoundStyle (int soundId, int style, int variations, SoundType type=SoundType.Sound) | |
LegacySoundStyle | WithVolume (float volume) |
LegacySoundStyle | WithPitchVariance (float pitchVariance) |
LegacySoundStyle | AsMusic () |
LegacySoundStyle | AsAmbient () |
LegacySoundStyle | AsSound () |
bool | Includes (int soundId, int style) |
override SoundEffect | GetRandomSound () |
float | GetRandomPitch () |
Public Attributes | |
readonly int | Variations |
readonly int | SoundId |
Properties | |
int | Style [get] |
override bool | IsTrackable [get] |
float | Volume [get] |
float | PitchVariance [get] |
SoundType | Type [get] |
Private Member Functions | |
LegacySoundStyle (int soundId, int style, int variations, SoundType type, float volume, float pitchVariance) | |
Private Attributes | |
readonly int | _style |
float | _volume |
float | _pitchVariance |
SoundType | _type |
Static Private Attributes | |
static readonly UnifiedRandom | Random = new UnifiedRandom() |
static UnifiedRandom | _random = new UnifiedRandom() |
Definition at line 6 of file LegacySoundStyle.cs.