Barotrauma Client Doc
Barotrauma.ParticlesFile Class Reference
Inheritance diagram for Barotrauma.ParticlesFile:
Barotrauma.GenericPrefabFile< ParticlePrefab >

Public Member Functions

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

Protected Member Functions

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

Properties

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

Detailed Description

Definition at line 11 of file ParticlesFile.cs.

Constructor & Destructor Documentation

◆ ParticlesFile()

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

Definition at line 13 of file ParticlesFile.cs.

Member Function Documentation

◆ CalculateHash()

override Md5Hash Barotrauma.ParticlesFile.CalculateHash ( )

◆ CreatePrefab()

override ParticlePrefab Barotrauma.ParticlesFile.CreatePrefab ( ContentXElement  element)
protectedvirtual

Implements Barotrauma.GenericPrefabFile< ParticlePrefab >.

Definition at line 18 of file ParticlesFile.cs.

◆ MatchesPlural()

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

◆ MatchesSingular()

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

Property Documentation

◆ Prefabs

override PrefabCollection<ParticlePrefab> Barotrauma.ParticlesFile.Prefabs
getprotected

Definition at line 17 of file ParticlesFile.cs.