Barotrauma Client
Loading...
Searching...
No Matches
Barotrauma.TutorialPrefab Class Reference
Inheritance diagram for Barotrauma.TutorialPrefab:
Barotrauma.Prefab

Public Types

enum  EndType { None , Continue , Restart }
 

Public Member Functions

readonly record struct EndMessageInfo (EndType EndType, Identifier NextTutorialIdentifier)
 
 TutorialPrefab (ContentFile file, ContentXElement element)
 
CharacterInfo GetTutorialCharacterInfo ()
 
override void Dispose ()
 
- Public Member Functions inherited from Barotrauma.Prefab
 Prefab (ContentFile file, Identifier identifier)
 
 Prefab (ContentFile file, ContentXElement element)
 
void Dispose ()
 

Public Attributes

readonly int Order
 
readonly bool DisableBotConversations
 
readonly bool AllowCharacterSwitch
 
readonly ContentPath SubmarinePath = ContentPath.FromRaw("Content/Tutorials/Dugong_Tutorial.sub")
 
readonly ContentPath OutpostPath = ContentPath.FromRaw("Content/Tutorials/TutorialOutpost.sub")
 
readonly string LevelSeed
 
readonly string LevelParams
 
readonly ImmutableArray< IdentifierStartingItemTags
 
readonly Identifier EventIdentifier
 
readonly Sprite Banner
 
readonly EndMessageInfo EndMessage
 
- Public Attributes inherited from Barotrauma.Prefab
readonly Identifier Identifier
 
readonly ContentFile ContentFile
 

Static Public Attributes

static readonly PrefabCollection< TutorialPrefabPrefabs
 
- Static Public Attributes inherited from Barotrauma.Prefab
static readonly ImmutableHashSet< Type > Types
 

Additional Inherited Members

- Static Public Member Functions inherited from Barotrauma.Prefab
static void DisallowCallFromConstructor ()
 
- Protected Member Functions inherited from Barotrauma.Prefab
virtual Identifier DetermineIdentifier (XElement element)
 
- Properties inherited from Barotrauma.Prefab
ContentPackageContentPackage [get]
 
ContentPath FilePath [get]
 

Member Enumeration Documentation

◆ EndType

Enumerator
None 
Continue 
Restart 

Constructor & Destructor Documentation

◆ TutorialPrefab()

Barotrauma.TutorialPrefab.TutorialPrefab ( ContentFile file,
ContentXElement element )

Member Function Documentation

◆ Dispose()

override void Barotrauma.TutorialPrefab.Dispose ( )

◆ EndMessageInfo()

readonly record struct Barotrauma.TutorialPrefab.EndMessageInfo ( EndType EndType,
Identifier NextTutorialIdentifier )

◆ GetTutorialCharacterInfo()

CharacterInfo Barotrauma.TutorialPrefab.GetTutorialCharacterInfo ( )

Member Data Documentation

◆ AllowCharacterSwitch

readonly bool Barotrauma.TutorialPrefab.AllowCharacterSwitch

◆ Banner

readonly Sprite Barotrauma.TutorialPrefab.Banner

◆ DisableBotConversations

readonly bool Barotrauma.TutorialPrefab.DisableBotConversations

◆ EndMessage

readonly EndMessageInfo Barotrauma.TutorialPrefab.EndMessage

◆ EventIdentifier

readonly Identifier Barotrauma.TutorialPrefab.EventIdentifier

◆ LevelParams

readonly string Barotrauma.TutorialPrefab.LevelParams

◆ LevelSeed

readonly string Barotrauma.TutorialPrefab.LevelSeed

◆ Order

readonly int Barotrauma.TutorialPrefab.Order

◆ OutpostPath

readonly ContentPath Barotrauma.TutorialPrefab.OutpostPath = ContentPath.FromRaw("Content/Tutorials/TutorialOutpost.sub")

◆ Prefabs

readonly PrefabCollection<TutorialPrefab> Barotrauma.TutorialPrefab.Prefabs
static
Initial value:
=
new PrefabCollection<TutorialPrefab>()

◆ StartingItemTags

readonly ImmutableArray<Identifier> Barotrauma.TutorialPrefab.StartingItemTags

◆ SubmarinePath

readonly ContentPath Barotrauma.TutorialPrefab.SubmarinePath = ContentPath.FromRaw("Content/Tutorials/Dugong_Tutorial.sub")

The documentation for this class was generated from the following file: