Photon Fusion 1.1.9

Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
NetworkPrefabRef Struct Reference

A decoupled NetworkObject prefab reference. Internally stored as a GUID. More...

Inherits INetworkStruct, IEquatable< NetworkPrefabRef >, and IComparable< NetworkPrefabRef >.

Public Member Functions

int CompareTo (NetworkPrefabRef other)
 
bool Equals (NetworkPrefabRef other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
 NetworkPrefabRef (byte *guid)
 
 NetworkPrefabRef (byte[] guid)
 
 NetworkPrefabRef (string guid)
 
override string ToString ()
 
string ToString (string format)
 
string ToUnityGuidString ()
 

Static Public Member Functions

static implicit operator Guid (NetworkPrefabRef guid)
 
static implicit operator NetworkPrefabRef (Guid guid)
 
static bool operator!= (NetworkPrefabRef a, NetworkPrefabRef b)
 
static bool operator== (NetworkPrefabRef a, NetworkPrefabRef b)
 
static NetworkPrefabRef Parse (string str)
 
static bool TryParse (string str, out NetworkPrefabRef guid)
 

Public Attributes

fixed long RawGuidValue [2]
 

Static Public Attributes

const int ALIGNMENT = 4
 
const int SIZE = 16
 

Properties

static NetworkPrefabRef Empty [get]
 
bool IsValid [get]
 

Detailed Description

A decoupled NetworkObject prefab reference. Internally stored as a GUID.