Barotrauma Client Doc
Barotrauma.TextPack Class Reference

Public Member Functions

readonly record struct Text (string String, bool IsOverride, TextPack TextPack)
 
 TextPack (TextFile file, ContentXElement mainElement, LanguageIdentifier language)
 

Public Attributes

readonly TextFile ContentFile
 
readonly LanguageIdentifier Language
 
readonly ImmutableDictionary< Identifier, ImmutableArray< Text > > Texts
 
readonly string TranslatedName
 
readonly bool NoWhitespace
 

Detailed Description

Definition at line 45 of file TextPack.cs.

Constructor & Destructor Documentation

◆ TextPack()

Barotrauma.TextPack.TextPack ( TextFile  file,
ContentXElement  mainElement,
LanguageIdentifier  language 
)

Definition at line 61 of file TextPack.cs.

Member Function Documentation

◆ Text()

readonly record struct Barotrauma.TextPack.Text ( string  String,
bool  IsOverride,
TextPack  TextPack 
)

Member Data Documentation

◆ ContentFile

readonly TextFile Barotrauma.TextPack.ContentFile

Definition at line 47 of file TextPack.cs.

◆ Language

readonly LanguageIdentifier Barotrauma.TextPack.Language

Definition at line 49 of file TextPack.cs.

◆ NoWhitespace

readonly bool Barotrauma.TextPack.NoWhitespace

Definition at line 59 of file TextPack.cs.

◆ Texts

readonly ImmutableDictionary<Identifier, ImmutableArray<Text> > Barotrauma.TextPack.Texts

Definition at line 57 of file TextPack.cs.

◆ TranslatedName

readonly string Barotrauma.TextPack.TranslatedName

Definition at line 58 of file TextPack.cs.