Barotrauma Client Doc
Barotrauma.TextFile Class Reference
Inheritance diagram for Barotrauma.TextFile:
Barotrauma.ContentFile

Public Member Functions

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

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 8 of file TextFile.cs.

Constructor & Destructor Documentation

◆ TextFile()

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

Definition at line 10 of file TextFile.cs.

Member Function Documentation

◆ LoadFile()

override void Barotrauma.TextFile.LoadFile ( )
virtual

Implements Barotrauma.ContentFile.

Definition at line 12 of file TextFile.cs.

◆ Sort()

override void Barotrauma.TextFile.Sort ( )
virtual

Implements Barotrauma.ContentFile.

Definition at line 49 of file TextFile.cs.

◆ UnloadFile()

override void Barotrauma.TextFile.UnloadFile ( )
virtual

Implements Barotrauma.ContentFile.

Definition at line 31 of file TextFile.cs.