Barotrauma Client Doc
Barotrauma.Items.Components.ItemSound Class Reference

Public Member Functions

 ItemSound (RoundSound sound, ActionType type, bool loop=false, bool onlyPlayInSameSub=false)
 

Public Attributes

readonly RoundSound RoundSound
 
readonly ActionType Type
 
Identifier VolumeProperty
 
readonly bool Loop
 
readonly bool OnlyPlayInSameSub
 

Properties

float VolumeMultiplier [get]
 
float Range [get]
 

Detailed Description

Constructor & Destructor Documentation

◆ ItemSound()

Barotrauma.Items.Components.ItemSound.ItemSound ( RoundSound  sound,
ActionType  type,
bool  loop = false,
bool  onlyPlayInSameSub = false 
)

Member Data Documentation

◆ Loop

readonly bool Barotrauma.Items.Components.ItemSound.Loop

◆ OnlyPlayInSameSub

readonly bool Barotrauma.Items.Components.ItemSound.OnlyPlayInSameSub

◆ RoundSound

readonly RoundSound Barotrauma.Items.Components.ItemSound.RoundSound

◆ Type

readonly ActionType Barotrauma.Items.Components.ItemSound.Type

◆ VolumeProperty

Identifier Barotrauma.Items.Components.ItemSound.VolumeProperty

Property Documentation

◆ Range

float Barotrauma.Items.Components.ItemSound.Range
get

◆ VolumeMultiplier

float Barotrauma.Items.Components.ItemSound.VolumeMultiplier
get