Photon Fusion 1.1.9

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

The unique identifier for a network entity. More...

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

Public Member Functions

int CompareTo (NetworkId other)
 
int IComparable. CompareTo (object obj)
 
bool Equals (NetworkId other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
string ToNamePrefixString ()
 String conversion specifically for use in prefixing names of GameObjects.
 
override string ToString ()
 
void Write (NetBitBuffer *buffer)
 

Static Public Member Functions

static implicit operator bool (NetworkId id)
 
static bool operator!= (NetworkId a, NetworkId b)
 
static bool operator== (NetworkId a, NetworkId b)
 
static NetworkId Read (NetBitBuffer *buffer, uint mask=0)
 
static void Write (NetBitBuffer *buffer, NetworkId id)
 

Public Attributes

uint Raw
 

Static Public Attributes

const int ALIGNMENT = 4
 
const int BLOCK_SIZE = 8
 
const int PREDICTED_BIT = 1 << 31
 Offset for the bitflag that indicates of this tick is predicted or final.
 
const int SIZE = 4
 

Properties

bool IsValid [get]
 

Detailed Description

The unique identifier for a network entity.

Member Function Documentation

◆ ToNamePrefixString()

string ToNamePrefixString ( )

String conversion specifically for use in prefixing names of GameObjects.

Returns