Barotrauma Client Doc
Barotrauma.GUISpritePrefab Class Reference
Inheritance diagram for Barotrauma.GUISpritePrefab:
Barotrauma.GUIPrefab Barotrauma.Prefab

Public Member Functions

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

Public Attributes

readonly UISprite Sprite
 
- Public Attributes inherited from Barotrauma.Prefab
readonly Identifier Identifier
 
readonly ContentFile ContentFile
 

Additional Inherited Members

- Static Public Member Functions inherited from Barotrauma.Prefab
static void DisallowCallFromConstructor ()
 
- Static Public Attributes inherited from Barotrauma.Prefab
static readonly ImmutableHashSet< Type > Types
 
- Protected Member Functions inherited from Barotrauma.GUIPrefab
override Identifier DetermineIdentifier (XElement element)
 
int ParseSize (XElement element, string attributeName)
 
- Properties inherited from Barotrauma.Prefab
ContentPackageContentPackage [get]
 
ContentPath FilePath [get]
 

Detailed Description

Definition at line 339 of file GUIPrefab.cs.

Constructor & Destructor Documentation

◆ GUISpritePrefab()

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

Definition at line 343 of file GUIPrefab.cs.

Member Function Documentation

◆ Dispose()

override void Barotrauma.GUISpritePrefab.Dispose ( )
virtual

Implements Barotrauma.Prefab.

Definition at line 348 of file GUIPrefab.cs.

Member Data Documentation

◆ Sprite

readonly UISprite Barotrauma.GUISpritePrefab.Sprite

Definition at line 341 of file GUIPrefab.cs.