|
Barotrauma Client Doc
|
Public Member Functions | |
| 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 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 PrefabSelector< SoundPrefab > | WaterAmbienceIn = new PrefabSelector<SoundPrefab>() |
| static readonly PrefabSelector< SoundPrefab > | WaterAmbienceOut = new PrefabSelector<SoundPrefab>() |
| static readonly PrefabSelector< SoundPrefab > | WaterAmbienceMoving = new PrefabSelector<SoundPrefab>() |
| static readonly PrefabSelector< SoundPrefab > | StartupSound = new PrefabSelector<SoundPrefab>() |
| static readonly ImmutableDictionary< Identifier, Type > | TagToDerivedPrefab |
| static readonly PrefabCollection< SoundPrefab > | Prefabs |
Static Public Attributes inherited from Barotrauma.Prefab | |
| static readonly ImmutableHashSet< Type > | Types |
Protected Member Functions | |
| override Identifier | DetermineIdentifier (XElement element) |
Properties | |
| static IReadOnlyList< SoundPrefab > | FlowSounds [get] |
| static IReadOnlyList< SoundPrefab > | SplashSounds [get] |
| Sound | Sound [get] |
Properties inherited from Barotrauma.Prefab | |
| ContentPackage? | ContentPackage [get] |
| ContentPath | FilePath [get] |
Additional Inherited Members | |
Static Public Member Functions inherited from Barotrauma.Prefab | |
| static void | DisallowCallFromConstructor () |
Definition at line 25 of file SoundPrefab.cs.
| Barotrauma.SoundPrefab.SoundPrefab | ( | ContentXElement | element, |
| SoundsFile | file, | ||
| bool | stream = false |
||
| ) |
Definition at line 188 of file SoundPrefab.cs.
|
protectedvirtual |
Reimplemented from Barotrauma.Prefab.
Definition at line 154 of file SoundPrefab.cs.
|
virtual |
Implements Barotrauma.Prefab.
Definition at line 201 of file SoundPrefab.cs.
| bool Barotrauma.SoundPrefab.IsPlaying | ( | ) |
Definition at line 196 of file SoundPrefab.cs.
| readonly ContentXElement Barotrauma.SoundPrefab.Element |
Definition at line 184 of file SoundPrefab.cs.
| readonly Identifier Barotrauma.SoundPrefab.ElementName |
Definition at line 185 of file SoundPrefab.cs.
|
static |
Definition at line 88 of file SoundPrefab.cs.
| readonly ContentPath Barotrauma.SoundPrefab.SoundPath |
Definition at line 183 of file SoundPrefab.cs.
|
static |
Definition at line 77 of file SoundPrefab.cs.
|
static |
Definition at line 84 of file SoundPrefab.cs.
|
static |
Definition at line 74 of file SoundPrefab.cs.
|
static |
Definition at line 76 of file SoundPrefab.cs.
|
static |
Definition at line 75 of file SoundPrefab.cs.
|
staticget |
Definition at line 80 of file SoundPrefab.cs.
|
get |
Definition at line 186 of file SoundPrefab.cs.
|
staticget |
Definition at line 82 of file SoundPrefab.cs.