Photon Fusion 1.1.2

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, and IEquatable< NetworkId >.

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

uint Raw
 

Static Public Attributes

const int PREDICTED_BIT = 1 << 31
 Offset for the bitflag that indicates of this tick is predicted or final. More...
 
const int BLOCK_SIZE = 8
 
const int SIZE = 4
 
const int ALIGNMENT = 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

Member Data Documentation

◆ PREDICTED_BIT

const int PREDICTED_BIT = 1 << 31
static

Offset for the bitflag that indicates of this tick is predicted or final.

◆ Raw

uint Raw

Property Documentation

◆ IsValid

bool IsValid
get