terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Terraria.Audio.LegacySoundStyle Class Reference
+ Inheritance diagram for Terraria.Audio.LegacySoundStyle:
+ Collaboration diagram for Terraria.Audio.LegacySoundStyle:

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, set]
 
override bool IsTrackable [get, set]
 
float Volume [get, set]
 
float PitchVariance [get, set]
 
SoundType Type [get, set]
 

Private Member Functions

 LegacySoundStyle (int soundId, int style, int variations, SoundType type, float volume, float pitchVariance)
 

Static Private Member Functions

static LegacySoundStyle ()
 

Private Attributes

readonly int _style
 
float _volume
 
float _pitchVariance
 
SoundType _type
 

Static Private Attributes

static readonly UnifiedRandom Random
 
static UnifiedRandom _random
 

Detailed Description

Definition at line 12 of file LegacySoundStyle.cs.


The documentation for this class was generated from the following file: