Barotrauma Client Doc
Barotrauma.BaseSubFile Class Reference
Inheritance diagram for Barotrauma.BaseSubFile:
Barotrauma.ContentFile Barotrauma.BeaconStationFile Barotrauma.EnemySubmarineFile Barotrauma.OutpostFile Barotrauma.OutpostModuleFile Barotrauma.SubmarineFile Barotrauma.WreckFile

Public Member Functions

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

Public Attributes

readonly UInt32 UintIdentifier
 
- Public Attributes inherited from Barotrauma.ContentFile
readonly ContentPackage ContentPackage
 
readonly ContentPath Path
 
readonly Md5Hash Hash
 

Protected Member Functions

 BaseSubFile (ContentPackage contentPackage, ContentPath path)
 
- Protected Member Functions inherited from Barotrauma.ContentFile
 ContentFile (ContentPackage contentPackage, ContentPath path)
 

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)
 
- Static Public Attributes inherited from Barotrauma.ContentFile
static readonly ImmutableHashSet< TypeInfoTypes
 
- Properties inherited from Barotrauma.ContentFile
bool NotSyncedInMultiplayer [get]
 

Detailed Description

Definition at line 6 of file SubmarineFile.cs.

Constructor & Destructor Documentation

◆ BaseSubFile()

Barotrauma.BaseSubFile.BaseSubFile ( ContentPackage  contentPackage,
ContentPath  path 
)
protected

Definition at line 8 of file SubmarineFile.cs.

Member Function Documentation

◆ CalculateHash()

override Md5Hash Barotrauma.BaseSubFile.CalculateHash ( )
virtual

Reimplemented from Barotrauma.ContentFile.

◆ LoadFile()

override void Barotrauma.BaseSubFile.LoadFile ( )
virtual

Implements Barotrauma.ContentFile.

Definition at line 17 of file SubmarineFile.cs.

◆ Sort()

override void Barotrauma.BaseSubFile.Sort ( )
virtual

Implements Barotrauma.ContentFile.

Definition at line 27 of file SubmarineFile.cs.

◆ UnloadFile()

override void Barotrauma.BaseSubFile.UnloadFile ( )
virtual

Implements Barotrauma.ContentFile.

Definition at line 22 of file SubmarineFile.cs.

Member Data Documentation

◆ UintIdentifier

readonly UInt32 Barotrauma.BaseSubFile.UintIdentifier

Definition at line 15 of file SubmarineFile.cs.