Barotrauma Client
Loading...
Searching...
No Matches
Barotrauma.TagLString Class Reference
Inheritance diagram for Barotrauma.TagLString:
Barotrauma.LocalizedString

Public Member Functions

 TagLString (params Identifier[] tags)
 
override void RetrieveValue ()
 
- Public Member Functions inherited from Barotrauma.LocalizedString
void RetrieveValue ()
 
override string ToString ()
 
bool Contains (string subStr, StringComparison comparison=StringComparison.Ordinal)
 
bool Contains (char chr, StringComparison comparison=StringComparison.Ordinal)
 
virtual LocalizedString ToUpper ()
 
LocalizedString Fallback (LocalizedString fallback, bool useDefaultLanguageIfFound=true)
 Use this text instead if the original text cannot be found.
 
IReadOnlyList< LocalizedStringSplit (params char[] separators)
 
LocalizedString Replace (Identifier find, LocalizedString replace, StringComparison stringComparison=StringComparison.Ordinal)
 
LocalizedString Replace (string find, LocalizedString replace, StringComparison stringComparison=StringComparison.Ordinal)
 
LocalizedString Replace (LocalizedString find, LocalizedString replace, StringComparison stringComparison=StringComparison.Ordinal)
 
LocalizedString TrimStart ()
 
LocalizedString TrimEnd ()
 
LocalizedString ToLower ()
 
override bool Equals (object? obj)
 
bool Equals (LocalizedString other, StringComparison comparison=StringComparison.Ordinal)
 
bool Equals (string other, StringComparison comparison=StringComparison.Ordinal)
 
bool StartsWith (LocalizedString other, StringComparison comparison=StringComparison.Ordinal)
 
bool StartsWith (string other, StringComparison comparison=StringComparison.Ordinal)
 
override int GetHashCode ()
 
int CompareTo (object? obj)
 

Properties

bool UsingDefaultLanguageAsFallback [get]
 Did we end up using the text in the default language (English) due to the text not being found in the selected language?
 
override bool Loaded [get]
 
- Properties inherited from Barotrauma.LocalizedString
LanguageIdentifier Language = LanguageIdentifier.None [get]
 
string Value [get]
 
int Length [get]
 
bool Loaded [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from Barotrauma.LocalizedString
static implicit operator LocalizedString (string value)
 
static implicit operator LocalizedString (char value)
 
static LocalizedString operator+ (LocalizedString left, LocalizedString right)
 
static LocalizedString operator+ (LocalizedString left, object right)
 
static LocalizedString operator+ (object left, LocalizedString right)
 
static bool operator== (LocalizedString? left, LocalizedString? right)
 
static bool operator!= (LocalizedString? left, LocalizedString? right)
 
static LocalizedString Join (string separator, params LocalizedString[] subStrs)
 
static LocalizedString Join (string separator, IEnumerable< LocalizedString > subStrs)
 
- Static Public Attributes inherited from Barotrauma.LocalizedString
static readonly RawLString EmptyString = new RawLString("")
 
- Protected Types inherited from Barotrauma.LocalizedString
enum  LoadedSuccessfully { Unknown , No , Yes }
 
- Protected Member Functions inherited from Barotrauma.LocalizedString
void UpdateLanguage ()
 
virtual bool MustRetrieveValue ()
 
- Static Protected Member Functions inherited from Barotrauma.LocalizedString
static bool MustRetrieveValue (LocalizedString str)
 
- Protected Attributes inherited from Barotrauma.LocalizedString
string cachedValue = ""
 

Constructor & Destructor Documentation

◆ TagLString()

Barotrauma.TagLString.TagLString ( params Identifier[] tags)

Member Function Documentation

◆ RetrieveValue()

override void Barotrauma.TagLString.RetrieveValue ( )

Property Documentation

◆ Loaded

override bool Barotrauma.TagLString.Loaded
get

◆ UsingDefaultLanguageAsFallback

bool Barotrauma.TagLString.UsingDefaultLanguageAsFallback
get

Did we end up using the text in the default language (English) due to the text not being found in the selected language?


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