Barotrauma Client Doc
Barotrauma.GUIPrefab Class Reference
Inheritance diagram for Barotrauma.GUIPrefab:
Barotrauma.Prefab Barotrauma.GUIColorPrefab Barotrauma.GUIComponentStyle Barotrauma.GUICursorPrefab Barotrauma.GUIFontPrefab Barotrauma.GUISpritePrefab Barotrauma.GUISpriteSheetPrefab

Public Member Functions

 GUIPrefab (ContentXElement element, UIStyleFile file)
 
- Public Member Functions inherited from Barotrauma.Prefab
 Prefab (ContentFile file, Identifier identifier)
 
 Prefab (ContentFile file, ContentXElement element)
 
abstract void Dispose ()
 

Protected Member Functions

override Identifier DetermineIdentifier (XElement element)
 
int ParseSize (XElement element, string attributeName)
 

Additional Inherited Members

- Static Public Member Functions inherited from Barotrauma.Prefab
static void DisallowCallFromConstructor ()
 
- Public Attributes inherited from Barotrauma.Prefab
readonly Identifier Identifier
 
readonly ContentFile ContentFile
 
- Static Public Attributes inherited from Barotrauma.Prefab
static readonly ImmutableHashSet< Type > Types
 
- Properties inherited from Barotrauma.Prefab
ContentPackageContentPackage [get]
 
ContentPath FilePath [get]
 

Detailed Description

Definition at line 13 of file GUIPrefab.cs.

Constructor & Destructor Documentation

◆ GUIPrefab()

Barotrauma.GUIPrefab.GUIPrefab ( ContentXElement  element,
UIStyleFile  file 
)

Definition at line 15 of file GUIPrefab.cs.

Member Function Documentation

◆ DetermineIdentifier()

override Identifier Barotrauma.GUIPrefab.DetermineIdentifier ( XElement  element)
protectedvirtual

Reimplemented from Barotrauma.Prefab.

Definition at line 17 of file GUIPrefab.cs.

◆ ParseSize()

int Barotrauma.GUIPrefab.ParseSize ( XElement  element,
string  attributeName 
)
protected

Definition at line 22 of file GUIPrefab.cs.