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