Barotrauma Client Doc
Barotrauma.SoundsFile Class Reference
Inheritance diagram for Barotrauma.SoundsFile:
Barotrauma.GenericPrefabFile< SoundPrefab >

Public Member Functions

 SoundsFile (ContentPackage contentPackage, ContentPath path)
 
override Md5Hash CalculateHash ()
 
- Public Member Functions inherited from Barotrauma.GenericPrefabFile< SoundPrefab >
override sealed void LoadFile ()
 
override sealed void UnloadFile ()
 
sealed override void Sort ()
 

Protected Member Functions

override SoundPrefab CreatePrefab (ContentXElement element)
 
override bool MatchesPlural (Identifier identifier)
 
override bool MatchesSingular (Identifier identifier)
 
- Protected Member Functions inherited from Barotrauma.GenericPrefabFile< SoundPrefab >
 GenericPrefabFile (ContentPackage contentPackage, ContentPath path)
 

Properties

override PrefabCollection< SoundPrefabPrefabs [get]
 
- Properties inherited from Barotrauma.GenericPrefabFile< SoundPrefab >
abstract PrefabCollection< T > Prefabs [get]
 

Detailed Description

Definition at line 10 of file SoundsFile.cs.

Constructor & Destructor Documentation

◆ SoundsFile()

Barotrauma.SoundsFile.SoundsFile ( ContentPackage  contentPackage,
ContentPath  path 
)

Definition at line 12 of file SoundsFile.cs.

Member Function Documentation

◆ CalculateHash()

override Md5Hash Barotrauma.SoundsFile.CalculateHash ( )

◆ CreatePrefab()

override SoundPrefab Barotrauma.SoundsFile.CreatePrefab ( ContentXElement  element)
protectedvirtual

Implements Barotrauma.GenericPrefabFile< SoundPrefab >.

Definition at line 16 of file SoundsFile.cs.

◆ MatchesPlural()

override bool Barotrauma.SoundsFile.MatchesPlural ( Identifier  identifier)
protectedvirtual

◆ MatchesSingular()

override bool Barotrauma.SoundsFile.MatchesSingular ( Identifier  identifier)
protectedvirtual

Property Documentation

◆ Prefabs

override PrefabCollection<SoundPrefab> Barotrauma.SoundsFile.Prefabs
getprotected

Definition at line 14 of file SoundsFile.cs.