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

Public Member Functions

 CharacterFile (ContentPackage contentPackage, ContentPath path)
 
override void LoadFile ()
 
override void UnloadFile ()
 
override void Sort ()
 
override void Preload (Action< Sprite > addPreloadedSprite)
 
- Public Member Functions inherited from Barotrauma.ContentFile
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 11 of file CharacterFile.cs.

Constructor & Destructor Documentation

◆ CharacterFile()

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

Definition at line 13 of file CharacterFile.cs.

Member Function Documentation

◆ LoadFile()

override void Barotrauma.CharacterFile.LoadFile ( )
virtual

Implements Barotrauma.ContentFile.

Definition at line 15 of file CharacterFile.cs.

◆ Preload()

override void Barotrauma.CharacterFile.Preload ( Action< Sprite addPreloadedSprite)
virtual

Reimplemented from Barotrauma.ContentFile.

Definition at line 46 of file CharacterFile.cs.

◆ Sort()

override void Barotrauma.CharacterFile.Sort ( )
virtual

Implements Barotrauma.ContentFile.

Definition at line 41 of file CharacterFile.cs.

◆ UnloadFile()

override void Barotrauma.CharacterFile.UnloadFile ( )
virtual

Implements Barotrauma.ContentFile.

Definition at line 36 of file CharacterFile.cs.