Inherits INetworkStruct, IEquatable< NetworkObjectGuid >, and IComparable< NetworkObjectGuid >.
Classes | |
class | EqualityComparer |
EqualityComparer for NetworkObjectGuid More... | |
Public Member Functions | |
int | CompareTo (NetworkObjectGuid other) |
Compare the NetworkObjectGuid to another NetworkObjectGuid More... | |
bool | Equals (NetworkObjectGuid other) |
Check if the NetworkObjectGuid is equal to another NetworkObjectGuid More... | |
override bool | Equals (object obj) |
Check if the NetworkObjectGuid is equal to another object More... | |
override int | GetHashCode () |
Get the hashcode for a NetworkObjectGuid More... | |
NetworkObjectGuid (byte *guid) | |
Create a NetworkObjectGuid from a byte* More... | |
NetworkObjectGuid (byte[] guid) | |
Create a NetworkObjectGuid from a byte array More... | |
NetworkObjectGuid (long data0, long data1) | |
Create a new NetworkObjectGuid More... | |
NetworkObjectGuid (string guid) | |
Create a new NetworkObjectGuid More... | |
override string | ToString () |
Returns a string representation of the NetworkObjectGuid. More... | |
string | ToString (string format) |
Returns a string representation of the NetworkObjectGuid. More... | |
string | ToUnityGuidString () |
Returns a string representation of the NetworkObjectGuid. More... | |
Static Public Member Functions | |
static implicit | operator Guid (NetworkObjectGuid guid) |
Implicit conversion from NetworkObjectGuid to Guid More... | |
static implicit | operator NetworkObjectGuid (Guid guid) |
Implicit conversion from Guid to NetworkObjectGuid More... | |
static | operator NetworkPrefabRef (NetworkObjectGuid t) |
Explicit conversion from NetworkObjectGuid to NetworkPrefabRef More... | |
static bool | operator!= (NetworkObjectGuid a, NetworkObjectGuid b) |
Compare two NetworkObjectGuid More... | |
static bool | operator== (NetworkObjectGuid a, NetworkObjectGuid b) |
Compare two NetworkObjectGuid More... | |
static NetworkObjectGuid | Parse (string str) |
Parse a NetworkObjectGuid from a string. More... | |
static bool | TryParse (string str, out NetworkObjectGuid guid) |
Try to parse a string into a NetworkObjectGuid More... | |
Public Attributes | |
fixed long | RawGuidValue [2] |
The Raw Guid Value of the NetworkObjectGuid More... | |
Static Public Attributes | |
const int | ALIGNMENT = 4 |
The alignment of the NetworkObjectGuid More... | |
const int | SIZE = 16 |
The Size of the NetworkObjectGuid in bytes More... | |
Properties | |
static NetworkObjectGuid | Empty [get] |
The default value of a NetworkObjectGuid More... | |
bool | IsValid [get] |
Signal if the NetworkObjectGuid is valid. More... | |
NetworkObjectGuid | ( | string | guid | ) |
Create a new NetworkObjectGuid
guid | The guid to use |
NetworkObjectGuid | ( | long | data0, |
long | data1 | ||
) |
Create a new NetworkObjectGuid
data0 | Data0 of the Guid |
data1 | Data1 of the Guid |
NetworkObjectGuid | ( | byte[] | guid | ) |
Create a NetworkObjectGuid from a byte array
guid | The byte array to create the NetworkObjectGuid from |
NetworkObjectGuid | ( | byte * | guid | ) |
Create a NetworkObjectGuid from a byte*
guid | The byte* to create the NetworkObjectGuid from |
int CompareTo | ( | NetworkObjectGuid | other | ) |
Compare the NetworkObjectGuid to another NetworkObjectGuid
other | The other NetworkObjectGuid to compare against |
bool Equals | ( | NetworkObjectGuid | other | ) |
Check if the NetworkObjectGuid is equal to another NetworkObjectGuid
other | The other NetworkObjectGuid to check against |
override bool Equals | ( | object | obj | ) |
Check if the NetworkObjectGuid is equal to another object
obj | The other object to check against |
override int GetHashCode | ( | ) |
Get the hashcode for a NetworkObjectGuid
|
static |
Implicit conversion from NetworkObjectGuid to Guid
guid | NetworkObjectGuid to convert from |
|
static |
Implicit conversion from Guid to NetworkObjectGuid
guid | Guid to convert from |
|
explicitstatic |
Explicit conversion from NetworkObjectGuid to NetworkPrefabRef
t | NetworkObjectGuid to convert from |
|
static |
Compare two NetworkObjectGuid
|
static |
Compare two NetworkObjectGuid
|
static |
Parse a NetworkObjectGuid from a string.
str | The string to parse. |
override string ToString | ( | ) |
Returns a string representation of the NetworkObjectGuid.
string ToString | ( | string | format | ) |
Returns a string representation of the NetworkObjectGuid.
string ToUnityGuidString | ( | ) |
Returns a string representation of the NetworkObjectGuid.
|
static |
Try to parse a string into a NetworkObjectGuid
str | String to parse |
guid | Parsed NetworkObjectGuid |
|
static |
The alignment of the NetworkObjectGuid
fixed long RawGuidValue[2] |
The Raw Guid Value of the NetworkObjectGuid
|
static |
The Size of the NetworkObjectGuid in bytes
|
staticget |
The default value of a NetworkObjectGuid
|
get |
Signal if the NetworkObjectGuid is valid.