|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| UniqueId () | |
| UniqueId (Guid guid) | |
| UniqueId (byte[] guid) | |
| unsafe | UniqueId (byte[] guid, int offset) |
| unsafe | UniqueId (string value) |
| unsafe | UniqueId (char[] chars, int offset, int count) |
| int | ToCharArray (char[] chars, int offset) |
| bool | TryGetGuid (out Guid guid) |
| unsafe bool | TryGetGuid (byte[] buffer, int offset) |
| override string | ToString () |
| override bool | Equals ([NotNullWhen(true)] object? obj) |
| override int | GetHashCode () |
Static Public Member Functions | |
| static bool | operator== (UniqueId? id1, UniqueId? id2) |
| static bool | operator!= (UniqueId? id1, UniqueId? id2) |
Properties | |
| int | CharArrayLength [get] |
| bool | IsGuid [get] |
Private Member Functions | |
| unsafe int | UnsafeDecode (short *char2val, char ch1, char ch2) |
| unsafe void | UnsafeParse (char *chars, int charCount) |
| unsafe void | ToSpan (Span< char > chars) |
| unsafe long | UnsafeGetInt64 (byte *pb) |
| unsafe int | UnsafeGetInt32 (byte *pb) |
| unsafe void | UnsafeSetInt64 (long value, byte *pb) |
| unsafe void | UnsafeSetInt32 (int value, byte *pb) |
Static Private Member Functions | |
| static unsafe void | UnsafeEncode (byte b, char *pch) |
Private Attributes | |
| long | _idLow |
| long | _idHigh |
| string | _s |
Static Private Attributes | |
| const int | guidLength = 16 |
| const int | uuidLength = 45 |
| static readonly short[] | s_char2val |
Definition at line 6 of file UniqueId.cs.