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