Photon Fusion 1.1.2

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

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

Static Public Member Functions

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

Public Attributes

fixed long RawGuidValue [2]
 

Static Public Attributes

const int SIZE = 16
 
const int ALIGNMENT = 4
 

Properties

static NetworkPrefabRef Empty [get]
 
bool IsValid [get]
 

Detailed Description

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