Barotrauma Client Doc
Barotrauma.FactionsFile Class Reference
Inheritance diagram for Barotrauma.FactionsFile:
Barotrauma.GenericPrefabFile< FactionPrefab >

Public Member Functions

 FactionsFile (ContentPackage contentPackage, ContentPath path)
 
- Public Member Functions inherited from Barotrauma.GenericPrefabFile< FactionPrefab >
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 FactionPrefab CreatePrefab (ContentXElement element)
 
- Protected Member Functions inherited from Barotrauma.GenericPrefabFile< FactionPrefab >
 GenericPrefabFile (ContentPackage contentPackage, ContentPath path)
 

Properties

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

Detailed Description

Definition at line 6 of file FactionsFile.cs.

Constructor & Destructor Documentation

◆ FactionsFile()

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

Definition at line 8 of file FactionsFile.cs.

Member Function Documentation

◆ CreatePrefab()

override FactionPrefab Barotrauma.FactionsFile.CreatePrefab ( ContentXElement  element)
protectedvirtual

Implements Barotrauma.GenericPrefabFile< FactionPrefab >.

Definition at line 13 of file FactionsFile.cs.

◆ MatchesPlural()

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

◆ MatchesSingular()

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

Property Documentation

◆ Prefabs

override PrefabCollection<FactionPrefab> Barotrauma.FactionsFile.Prefabs
getprotected

Definition at line 12 of file FactionsFile.cs.