Barotrauma Client
Loading...
Searching...
No Matches
Barotrauma.ContentPath Class Referencesealed

Public Member Functions

override bool Equals (object? obj)
 
override int GetHashCode ()
 
bool IsPathNullOrEmpty ()
 
bool IsPathNullOrWhiteSpace ()
 
bool EndsWith (string suffix)
 
override? string ToString ()
 

Static Public Member Functions

static ContentPath FromRaw (string? rawValue)
 
static ContentPath FromRaw (ContentPackage? contentPackage, string? rawValue)
 
static bool operator== (ContentPath a, ContentPath b)
 
static bool operator!= (ContentPath a, ContentPath b)
 
static bool operator== (ContentPath a, string? b)
 
static bool operator!= (ContentPath a, string? b)
 
static bool operator== (string? a, ContentPath b)
 
static bool operator!= (string? a, ContentPath b)
 

Public Attributes

readonly? string RawValue
 
readonly? ContentPackage ContentPackage
 

Static Public Attributes

static readonly ContentPath Empty = new ContentPath(null, "")
 
const string ModDirStr = "%ModDir%"
 
const string OtherModDirFmt = "%ModDir:{0}%"
 

Protected Member Functions

bool Equals (ContentPath other)
 

Properties

string Value [get]
 
string FullPath [get]
 

Member Function Documentation

◆ EndsWith()

bool Barotrauma.ContentPath.EndsWith ( string suffix)

◆ Equals() [1/2]

bool Barotrauma.ContentPath.Equals ( ContentPath other)
protected

◆ Equals() [2/2]

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

◆ FromRaw() [1/2]

static ContentPath Barotrauma.ContentPath.FromRaw ( ContentPackage? contentPackage,
string? rawValue )
static

◆ FromRaw() [2/2]

static ContentPath Barotrauma.ContentPath.FromRaw ( string? rawValue)
static

◆ GetHashCode()

override int Barotrauma.ContentPath.GetHashCode ( )

◆ IsPathNullOrEmpty()

bool Barotrauma.ContentPath.IsPathNullOrEmpty ( )

◆ IsPathNullOrWhiteSpace()

bool Barotrauma.ContentPath.IsPathNullOrWhiteSpace ( )

◆ operator!=() [1/3]

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

◆ operator!=() [2/3]

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

◆ operator!=() [3/3]

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

◆ operator==() [1/3]

static bool Barotrauma.ContentPath.operator== ( ContentPath a,
ContentPath b )
static

◆ operator==() [2/3]

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

◆ operator==() [3/3]

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

◆ ToString()

override? string Barotrauma.ContentPath.ToString ( )

Member Data Documentation

◆ ContentPackage

readonly? ContentPackage Barotrauma.ContentPath.ContentPackage

◆ Empty

readonly ContentPath Barotrauma.ContentPath.Empty = new ContentPath(null, "")
static

◆ ModDirStr

const string Barotrauma.ContentPath.ModDirStr = "%ModDir%"
static

◆ OtherModDirFmt

const string Barotrauma.ContentPath.OtherModDirFmt = "%ModDir:{0}%"
static

◆ RawValue

readonly? string Barotrauma.ContentPath.RawValue

Property Documentation

◆ FullPath

string Barotrauma.ContentPath.FullPath
get

◆ Value

string Barotrauma.ContentPath.Value
get

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