Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Guid Struct Reference

Classes

struct  GuidResult
 

Public Member Functions

 Guid (byte[] b)
 
 Guid (ReadOnlySpan< byte > b)
 
 Guid (uint a, ushort b, ushort c, byte d, byte e, byte f, byte g, byte h, byte i, byte j, byte k)
 
 Guid (int a, short b, short c, byte[] d)
 
 Guid (int a, short b, short c, byte d, byte e, byte f, byte g, byte h, byte i, byte j, byte k)
 
 Guid (string g)
 
byte[] ToByteArray ()
 
bool TryWriteBytes (Span< byte > destination)
 
override string ToString ()
 
override int GetHashCode ()
 
override bool Equals ([NotNullWhen(true)] object? o)
 
bool Equals (Guid g)
 
int CompareTo (object? value)
 
int CompareTo (Guid value)
 
string ToString (string? format)
 
string ToString (string? format, IFormatProvider? provider)
 
unsafe bool TryFormat (Span< char > destination, out int charsWritten, ReadOnlySpan< char > format=default(ReadOnlySpan< char >))
 
bool ISpanFormattable. TryFormat (Span< char > destination, out int charsWritten, ReadOnlySpan< char > format, IFormatProvider provider)
 
bool TryFormat (Span< char > destination, out int charsWritten, ReadOnlySpan< char > format, IFormatProvider? provider)
 
int CompareTo (T? other)
 
int CompareTo (T? other)
 
bool Equals (T? other)
 

Static Public Member Functions

static Guid Parse (string input)
 
static Guid Parse (ReadOnlySpan< char > input)
 
static bool TryParse ([NotNullWhen(true)] string? input, out Guid result)
 
static bool TryParse (ReadOnlySpan< char > input, out Guid result)
 
static Guid ParseExact (string input, string format)
 
static Guid ParseExact (ReadOnlySpan< char > input, ReadOnlySpan< char > format)
 
static bool TryParseExact ([NotNullWhen(true)] string? input, [NotNullWhen(true)] string? format, out Guid result)
 
static bool TryParseExact (ReadOnlySpan< char > input, ReadOnlySpan< char > format, out Guid result)
 
static bool operator== (Guid a, Guid b)
 
static bool operator!= (Guid a, Guid b)
 
static bool IComparisonOperators< Guid, Guid >. operator< (Guid left, Guid right)
 
static bool IComparisonOperators< Guid, Guid >. operator<= (Guid left, Guid right)
 
static bool IComparisonOperators< Guid, Guid >. operator> (Guid left, Guid right)
 
static bool IComparisonOperators< Guid, Guid >. operator>= (Guid left, Guid right)
 
static bool IEqualityOperators< Guid, Guid >. operator== (Guid left, Guid right)
 
static bool IEqualityOperators< Guid, Guid >. operator!= (Guid left, Guid right)
 
static Guid IParseable< Guid >. Parse (string s, IFormatProvider provider)
 
static bool IParseable< Guid >. TryParse ([NotNullWhen(true)] string s, IFormatProvider provider, out Guid result)
 
static Guid ISpanParseable< Guid >. Parse (ReadOnlySpan< char > s, IFormatProvider provider)
 
static bool ISpanParseable< Guid >. TryParse (ReadOnlySpan< char > s, IFormatProvider provider, out Guid result)
 
static Guid NewGuid ()
 
static bool operator< (TSelf left, TOther right)
 
static bool operator<= (TSelf left, TOther right)
 
static bool operator> (TSelf left, TOther right)
 
static bool operator>= (TSelf left, TOther right)
 
static bool operator== (TSelf left, TOther right)
 
static bool operator!= (TSelf left, TOther right)
 
static TSelf Parse (ReadOnlySpan< char > s, IFormatProvider? provider)
 
static bool TryParse (ReadOnlySpan< char > s, IFormatProvider? provider, out TSelf result)
 
static TSelf Parse (string s, IFormatProvider? provider)
 
static bool TryParse ([NotNullWhen(true)] string? s, IFormatProvider? provider, out TSelf result)
 

Static Public Attributes

static readonly Guid Empty
 

Private Types

enum  GuidParseThrowStyle : byte { None , All , AllButOverflow }
 

Static Private Member Functions

static bool TryParseGuid (ReadOnlySpan< char > guidString, ref GuidResult result)
 
static bool TryParseExactB (ReadOnlySpan< char > guidString, ref GuidResult result)
 
static bool TryParseExactD (ReadOnlySpan< char > guidString, ref GuidResult result)
 
static bool TryParseExactN (ReadOnlySpan< char > guidString, ref GuidResult result)
 
static bool TryParseExactP (ReadOnlySpan< char > guidString, ref GuidResult result)
 
static bool TryParseExactX (ReadOnlySpan< char > guidString, ref GuidResult result)
 
static byte DecodeByte (nuint ch1, nuint ch2, ref int invalidIfNegative)
 
static bool TryParseHex (ReadOnlySpan< char > guidString, out ushort result, ref bool overflow)
 
static bool TryParseHex (ReadOnlySpan< char > guidString, out uint result)
 
static bool TryParseHex (ReadOnlySpan< char > guidString, out uint result, ref bool overflow)
 
static ReadOnlySpan< char > EatAllWhitespace (ReadOnlySpan< char > str)
 
static bool IsHexPrefix (ReadOnlySpan< char > str, int i)
 
static bool EqualsCore (in Guid left, in Guid right)
 
static int GetResult (uint me, uint them)
 
static unsafe int HexsToChars (char *guidChars, int a, int b)
 
static unsafe int HexsToCharsHexOutput (char *guidChars, int a, int b)
 

Private Attributes

readonly int _a
 
readonly short _b
 
readonly short _c
 
readonly byte _d
 
readonly byte _e
 
readonly byte _f
 
readonly byte _g
 
readonly byte _h
 
readonly byte _i
 
readonly byte _j
 
readonly byte _k
 

Detailed Description

Definition at line 14 of file Guid.cs.


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