Barotrauma Server
Loading...
Searching...
No Matches
Barotrauma.GenericPrefabFile< T > Class Template Referenceabstract
Inheritance diagram for Barotrauma.GenericPrefabFile< T >:
Barotrauma.ContentFile

Public Member Functions

override void LoadFile ()
 
override void UnloadFile ()
 
override void Sort ()
 
- Public Member Functions inherited from Barotrauma.ContentFile
void LoadFile ()
 
void UnloadFile ()
 
void Sort ()
 
virtual void Preload (Action< Sprite > addPreloadedSprite)
 
virtual Md5Hash CalculateHash ()
 

Protected Member Functions

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

Properties

PrefabCollection< T > Prefabs [get]
 
- Properties inherited from Barotrauma.ContentFile
bool NotSyncedInMultiplayer [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from Barotrauma.ContentFile
static bool IsLegacyContentType (XElement contentFileElement, ContentPackage package, bool logWarning)
 
static Result< ContentFile, ContentPackage.LoadErrorCreateFromXElement (ContentPackage contentPackage, XElement element)
 
- Public Attributes inherited from Barotrauma.ContentFile
readonly ContentPackage ContentPackage
 
readonly ContentPath Path
 
readonly Md5Hash Hash
 
- Static Public Attributes inherited from Barotrauma.ContentFile
static readonly ImmutableHashSet< TypeInfoTypes
 

Constructor & Destructor Documentation

◆ GenericPrefabFile()

Member Function Documentation

◆ CreatePrefab()

T Barotrauma.GenericPrefabFile< T >.CreatePrefab ( ContentXElement element)
abstractprotected

◆ LoadFile()

override void Barotrauma.GenericPrefabFile< T >.LoadFile ( )
sealed

◆ MatchesPlural()

bool Barotrauma.GenericPrefabFile< T >.MatchesPlural ( Identifier identifier)
abstractprotected

◆ MatchesSingular()

bool Barotrauma.GenericPrefabFile< T >.MatchesSingular ( Identifier identifier)
abstractprotected

◆ Sort()

override void Barotrauma.GenericPrefabFile< T >.Sort ( )
sealed

◆ UnloadFile()

override void Barotrauma.GenericPrefabFile< T >.UnloadFile ( )
sealed

Property Documentation

◆ Prefabs

PrefabCollection<T> Barotrauma.GenericPrefabFile< T >.Prefabs
getabstractprotected

The documentation for this class was generated from the following file: