Barotrauma Client Doc
Barotrauma.GUISound Class Reference
Inheritance diagram for Barotrauma.GUISound:
Barotrauma.SoundPrefab Barotrauma.Prefab

Public Member Functions

 GUISound (ContentXElement element, SoundsFile file)
 
- Public Member Functions inherited from Barotrauma.SoundPrefab
 SoundPrefab (ContentXElement element, SoundsFile file, bool stream=false)
 
bool IsPlaying ()
 
override void Dispose ()
 
- Public Member Functions inherited from Barotrauma.Prefab
 Prefab (ContentFile file, Identifier identifier)
 
 Prefab (ContentFile file, ContentXElement element)
 

Public Attributes

readonly GUISoundType Type
 
- Public Attributes inherited from Barotrauma.SoundPrefab
readonly ContentPath SoundPath
 
readonly ContentXElement Element
 
readonly Identifier ElementName
 
- Public Attributes inherited from Barotrauma.Prefab
readonly Identifier Identifier
 
readonly ContentFile ContentFile
 

Static Public Attributes

static readonly PrefabCollection< GUISoundGUISoundPrefabs = new PrefabCollection<GUISound>()
 
- Static Public Attributes inherited from Barotrauma.SoundPrefab
static readonly PrefabSelector< SoundPrefabWaterAmbienceIn = new PrefabSelector<SoundPrefab>()
 
static readonly PrefabSelector< SoundPrefabWaterAmbienceOut = new PrefabSelector<SoundPrefab>()
 
static readonly PrefabSelector< SoundPrefabWaterAmbienceMoving = new PrefabSelector<SoundPrefab>()
 
static readonly PrefabSelector< SoundPrefabStartupSound = new PrefabSelector<SoundPrefab>()
 
static readonly ImmutableDictionary< Identifier, Type > TagToDerivedPrefab
 
static readonly PrefabCollection< SoundPrefabPrefabs
 
- Static Public Attributes inherited from Barotrauma.Prefab
static readonly ImmutableHashSet< Type > Types
 

Additional Inherited Members

- Static Public Member Functions inherited from Barotrauma.Prefab
static void DisallowCallFromConstructor ()
 
- Protected Member Functions inherited from Barotrauma.SoundPrefab
override Identifier DetermineIdentifier (XElement element)
 
- Properties inherited from Barotrauma.SoundPrefab
static IReadOnlyList< SoundPrefabFlowSounds [get]
 
static IReadOnlyList< SoundPrefabSplashSounds [get]
 
Sound Sound [get]
 
- Properties inherited from Barotrauma.Prefab
ContentPackageContentPackage [get]
 
ContentPath FilePath [get]
 

Detailed Description

Definition at line 265 of file SoundPrefab.cs.

Constructor & Destructor Documentation

◆ GUISound()

Barotrauma.GUISound.GUISound ( ContentXElement  element,
SoundsFile  file 
)

Definition at line 272 of file SoundPrefab.cs.

Member Data Documentation

◆ GUISoundPrefabs

readonly PrefabCollection<GUISound> Barotrauma.GUISound.GUISoundPrefabs = new PrefabCollection<GUISound>()
static

Definition at line 268 of file SoundPrefab.cs.

◆ Type

readonly GUISoundType Barotrauma.GUISound.Type

Definition at line 270 of file SoundPrefab.cs.