Barotrauma Client Doc
Barotrauma.LevelObjectPrefabsFile Class Reference
Inheritance diagram for Barotrauma.LevelObjectPrefabsFile:
Barotrauma.GenericPrefabFile< LevelObjectPrefab >

Public Member Functions

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

Properties

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

Detailed Description

Definition at line 6 of file LevelObjectPrefabsFile.cs.

Constructor & Destructor Documentation

◆ LevelObjectPrefabsFile()

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

Definition at line 8 of file LevelObjectPrefabsFile.cs.

Member Function Documentation

◆ CreatePrefab()

override LevelObjectPrefab Barotrauma.LevelObjectPrefabsFile.CreatePrefab ( ContentXElement  element)
protectedvirtual

◆ MatchesPlural()

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

◆ MatchesSingular()

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

Property Documentation

◆ Prefabs

override PrefabCollection<LevelObjectPrefab> Barotrauma.LevelObjectPrefabsFile.Prefabs
getprotected

Definition at line 12 of file LevelObjectPrefabsFile.cs.