Barotrauma Client Doc
Barotrauma.UIStyleFile Class Reference
Inheritance diagram for Barotrauma.UIStyleFile:
Barotrauma.HashlessFile Barotrauma.ContentFile

Public Member Functions

 UIStyleFile (ContentPackage contentPackage, ContentPath path)
 
void LoadFromXElement (ContentXElement parentElement, bool overriding)
 
override sealed void LoadFile ()
 
override sealed void UnloadFile ()
 
override sealed 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 11 of file UIStyleFile.cs.

Constructor & Destructor Documentation

◆ UIStyleFile()

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

Definition at line 13 of file UIStyleFile.cs.

Member Function Documentation

◆ LoadFile()

override sealed void Barotrauma.UIStyleFile.LoadFile ( )
virtual

Implements Barotrauma.ContentFile.

Definition at line 65 of file UIStyleFile.cs.

◆ LoadFromXElement()

void Barotrauma.UIStyleFile.LoadFromXElement ( ContentXElement  parentElement,
bool  overriding 
)

Definition at line 15 of file UIStyleFile.cs.

◆ Sort()

override sealed void Barotrauma.UIStyleFile.Sort ( )
virtual

Implements Barotrauma.ContentFile.

Definition at line 84 of file UIStyleFile.cs.

◆ UnloadFile()

override sealed void Barotrauma.UIStyleFile.UnloadFile ( )
virtual

Implements Barotrauma.ContentFile.

Definition at line 74 of file UIStyleFile.cs.