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

Public Member Functions

 RandomEventsFile (ContentPackage contentPackage, ContentPath path)
 
void LoadFromXElement (ContentXElement parentElement, bool overriding)
 
override void LoadFile ()
 
override void UnloadFile ()
 
override void Sort ()
 
- Public Member Functions inherited from Barotrauma.ContentFile
virtual void Preload (Action< Sprite > addPreloadedSprite)
 
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 6 of file RandomEventsFile.cs.

Constructor & Destructor Documentation

◆ RandomEventsFile()

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

Definition at line 8 of file RandomEventsFile.cs.

Member Function Documentation

◆ LoadFile()

override void Barotrauma.RandomEventsFile.LoadFile ( )
virtual

Implements Barotrauma.ContentFile.

Definition at line 73 of file RandomEventsFile.cs.

◆ LoadFromXElement()

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

Definition at line 10 of file RandomEventsFile.cs.

◆ Sort()

override void Barotrauma.RandomEventsFile.Sort ( )
virtual

Implements Barotrauma.ContentFile.

Definition at line 91 of file RandomEventsFile.cs.

◆ UnloadFile()

override void Barotrauma.RandomEventsFile.UnloadFile ( )
virtual

Implements Barotrauma.ContentFile.

Definition at line 82 of file RandomEventsFile.cs.