Barotrauma Client Doc
Barotrauma.OtherFile Class Reference
Inheritance diagram for Barotrauma.OtherFile:
Barotrauma.HashlessFile Barotrauma.ContentFile Barotrauma.BackgroundCreaturePrefabsFile Barotrauma.ServerExecutableFile

Public Member Functions

 OtherFile (ContentPackage contentPackage, ContentPath path)
 
sealed override void LoadFile ()
 
sealed override void UnloadFile ()
 
sealed override void Sort ()
 
- Public Member Functions inherited from Barotrauma.HashlessFile
 HashlessFile (ContentPackage contentPackage, ContentPath path)
 
sealed override Md5Hash CalculateHash ()
 
- Public Member Functions inherited from Barotrauma.ContentFile
virtual void Preload (Action< Sprite > addPreloadedSprite)
 

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
 
- Protected Member Functions inherited from Barotrauma.ContentFile
 ContentFile (ContentPackage contentPackage, ContentPath path)
 
- Properties inherited from Barotrauma.ContentFile
bool NotSyncedInMultiplayer [get]
 

Detailed Description

Definition at line 5 of file OtherFile.cs.

Constructor & Destructor Documentation

◆ OtherFile()

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

Definition at line 7 of file OtherFile.cs.

Member Function Documentation

◆ LoadFile()

sealed override void Barotrauma.OtherFile.LoadFile ( )
virtual

Implements Barotrauma.ContentFile.

Definition at line 10 of file OtherFile.cs.

◆ Sort()

sealed override void Barotrauma.OtherFile.Sort ( )
virtual

Implements Barotrauma.ContentFile.

Definition at line 12 of file OtherFile.cs.

◆ UnloadFile()

sealed override void Barotrauma.OtherFile.UnloadFile ( )
virtual

Implements Barotrauma.ContentFile.

Definition at line 11 of file OtherFile.cs.