Barotrauma Client Doc
|
Public Types | |
enum class | Mode { Start = 0x1 , End = 0x2 , Both =0x3 } |
Public Member Functions | |
TrimLString (LocalizedString nestedStr, Mode mode) | |
override void | RetrieveValue () |
Public Member Functions inherited from Barotrauma.LocalizedString | |
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) |
IReadOnlyList< LocalizedString > | Split (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 | |
override bool | Loaded [get] |
Properties inherited from Barotrauma.LocalizedString | |
LanguageIdentifier | Language = LanguageIdentifier.None [get] |
string | Value [get] |
int | Length [get] |
abstract 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) |
Protected Types inherited from Barotrauma.LocalizedString | |
enum class | 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 = "" |
Definition at line 6 of file TrimLString.cs.
|
strong |
Enumerator | |
---|---|
Start | |
End | |
Both |
Definition at line 9 of file TrimLString.cs.
Barotrauma.TrimLString.TrimLString | ( | LocalizedString | nestedStr, |
Mode | mode | ||
) |
Definition at line 13 of file TrimLString.cs.
|
virtual |
Implements Barotrauma.LocalizedString.
Definition at line 20 of file TrimLString.cs.
|
get |
Definition at line 19 of file TrimLString.cs.