Barotrauma Client Doc
Barotrauma.Identifier Struct Reference
Inheritance diagram for Barotrauma.Identifier:

Public Member Functions

 Identifier (string? str)
 
Identifier IfEmpty (in Identifier id)
 
Identifier Replace (in Identifier subStr, in Identifier newStr)
 
Identifier Replace (string subStr, string newStr)
 
Identifier Remove (Identifier subStr)
 
Identifier Remove (string subStr)
 
override bool Equals (object? obj)
 
bool StartsWith (string str)
 
bool StartsWith (Identifier id)
 
bool EndsWith (string str)
 
bool EndsWith (Identifier id)
 
Identifier AppendIfMissing (string suffix)
 
Identifier RemoveFromEnd (string suffix)
 
bool Contains (string str)
 
bool Contains (in Identifier id)
 
override string ToString ()
 
override int GetHashCode ()
 
int CompareTo (object? obj)
 
bool Equals ([AllowNull] Identifier other)
 

Static Public Member Functions

static bool operator== (in Identifier a, in Identifier b)
 
static bool operator!= (in Identifier a, in Identifier b)
 
static bool operator== (in Identifier identifier, string? str)
 
static bool operator!= (in Identifier identifier, string? str)
 
static bool operator== (string? str, in Identifier identifier)
 
static bool operator!= (string? str, in Identifier identifier)
 
static bool operator== (in Identifier? a, in Identifier? b)
 
static bool operator!= (in Identifier? a, in Identifier? b)
 
static bool operator== (in Identifier? a, string? b)
 
static bool operator!= (in Identifier? a, string? b)
 
static bool operator== (string str, in Identifier? identifier)
 
static bool operator!= (string str, in Identifier? identifier)
 
static implicit operator Identifier (string str)
 

Static Public Attributes

static readonly Identifier Empty = default
 

Properties

string Value [get]
 
int HashCode [get]
 
bool IsEmpty [get]
 

Detailed Description

Definition at line 11 of file Identifier.cs.

Constructor & Destructor Documentation

◆ Identifier()

Barotrauma.Identifier.Identifier ( string?  str)

Definition at line 23 of file Identifier.cs.

Member Function Documentation

◆ AppendIfMissing()

Identifier Barotrauma.Identifier.AppendIfMissing ( string  suffix)

◆ CompareTo()

int Barotrauma.Identifier.CompareTo ( object?  obj)

Definition at line 76 of file Identifier.cs.

◆ Contains() [1/2]

bool Barotrauma.Identifier.Contains ( in Identifier  id)

◆ Contains() [2/2]

bool Barotrauma.Identifier.Contains ( string  str)

◆ EndsWith() [1/2]

bool Barotrauma.Identifier.EndsWith ( Identifier  id)

◆ EndsWith() [2/2]

bool Barotrauma.Identifier.EndsWith ( string  str)

◆ Equals() [1/2]

bool Barotrauma.Identifier.Equals ( [AllowNull] Identifier  other)

Definition at line 81 of file Identifier.cs.

◆ Equals() [2/2]

override bool Barotrauma.Identifier.Equals ( object?  obj)

◆ GetHashCode()

override int Barotrauma.Identifier.GetHashCode ( )

◆ IfEmpty()

Identifier Barotrauma.Identifier.IfEmpty ( in Identifier  id)

◆ operator Identifier()

static implicit Barotrauma.Identifier.operator Identifier ( string  str)
static

Definition at line 125 of file Identifier.cs.

◆ operator!=() [1/6]

static bool Barotrauma.Identifier.operator!= ( in Identifier  a,
in Identifier  b 
)
static

◆ operator!=() [2/6]

static bool Barotrauma.Identifier.operator!= ( in Identifier  identifier,
string?  str 
)
static

◆ operator!=() [3/6]

static bool Barotrauma.Identifier.operator!= ( in Identifier a,
in Identifier b 
)
static

◆ operator!=() [4/6]

static bool Barotrauma.Identifier.operator!= ( in Identifier a,
string?  b 
)
static

◆ operator!=() [5/6]

static bool Barotrauma.Identifier.operator!= ( string  str,
in Identifier identifier 
)
static

◆ operator!=() [6/6]

static bool Barotrauma.Identifier.operator!= ( string?  str,
in Identifier  identifier 
)
static

◆ operator==() [1/6]

static bool Barotrauma.Identifier.operator== ( in Identifier  a,
in Identifier  b 
)
static

◆ operator==() [2/6]

static bool Barotrauma.Identifier.operator== ( in Identifier  identifier,
string?  str 
)
static

◆ operator==() [3/6]

static bool Barotrauma.Identifier.operator== ( in Identifier a,
in Identifier b 
)
static

◆ operator==() [4/6]

static bool Barotrauma.Identifier.operator== ( in Identifier a,
string?  b 
)
static

◆ operator==() [5/6]

static bool Barotrauma.Identifier.operator== ( string  str,
in Identifier identifier 
)
static

◆ operator==() [6/6]

static bool Barotrauma.Identifier.operator== ( string?  str,
in Identifier  identifier 
)
static

◆ Remove() [1/2]

Identifier Barotrauma.Identifier.Remove ( Identifier  subStr)

◆ Remove() [2/2]

Identifier Barotrauma.Identifier.Remove ( string  subStr)

◆ RemoveFromEnd()

Identifier Barotrauma.Identifier.RemoveFromEnd ( string  suffix)

◆ Replace() [1/2]

Identifier Barotrauma.Identifier.Replace ( in Identifier  subStr,
in Identifier  newStr 
)

◆ Replace() [2/2]

Identifier Barotrauma.Identifier.Replace ( string  subStr,
string  newStr 
)

◆ StartsWith() [1/2]

bool Barotrauma.Identifier.StartsWith ( Identifier  id)

◆ StartsWith() [2/2]

bool Barotrauma.Identifier.StartsWith ( string  str)

◆ ToString()

override string Barotrauma.Identifier.ToString ( )

Member Data Documentation

◆ Empty

readonly Identifier Barotrauma.Identifier.Empty = default
static

Definition at line 13 of file Identifier.cs.

Property Documentation

◆ HashCode

int Barotrauma.Identifier.HashCode
get

Definition at line 21 of file Identifier.cs.

◆ IsEmpty

bool Barotrauma.Identifier.IsEmpty
get

Definition at line 29 of file Identifier.cs.

◆ Value

string Barotrauma.Identifier.Value
get

Definition at line 20 of file Identifier.cs.