Photon Quantum 3.0.0

Static Public Member Functions | List of all members
Quantum.BitStreamExtensionsCore Class Reference

Bit steam extensions methods to serialize Quantum specific concrete types. More...

Static Public Member Functions

static void Serialize (this IBitStream stream, ref AssetGuid value)
 Serialize the AssetGuid value. More...
 
static void Serialize (this IBitStream stream, ref AssetRef value)
 Serialize the AssetRef value. More...
 
static void Serialize (this IBitStream stream, ref ComponentTypeRef value)
 Serialize the ComponentTypeRef value. More...
 
static void Serialize (this IBitStream stream, ref EntityRef value)
 Serialize the EntityRef value. More...
 
static void Serialize (this IBitStream stream, ref PlayerRef value)
 Serialize the PlayerRef value. More...
 
static void Serialize< T > (this IBitStream stream, ref AssetRef< T > value)
 Serialize the AssetRef value where the asset is of type AssetObject. More...
 

Detailed Description

Bit steam extensions methods to serialize Quantum specific concrete types.

Member Function Documentation

◆ Serialize() [1/5]

static void Quantum.BitStreamExtensionsCore.Serialize ( this IBitStream  stream,
ref EntityRef  value 
)
inlinestatic

Serialize the EntityRef value.

Parameters
streamStream
valueValue to serialize or deserialize

◆ Serialize() [2/5]

static void Quantum.BitStreamExtensionsCore.Serialize ( this IBitStream  stream,
ref AssetGuid  value 
)
inlinestatic

Serialize the AssetGuid value.

Parameters
streamStream
valueValue to serialize or deserialize

◆ Serialize() [3/5]

static void Quantum.BitStreamExtensionsCore.Serialize ( this IBitStream  stream,
ref PlayerRef  value 
)
inlinestatic

Serialize the PlayerRef value.

Parameters
streamStream
valueValue to serialize or deserialize

◆ Serialize() [4/5]

static void Quantum.BitStreamExtensionsCore.Serialize ( this IBitStream  stream,
ref AssetRef  value 
)
inlinestatic

Serialize the AssetRef value.

Parameters
streamStream
valueValue to serialize or deserialize

◆ Serialize() [5/5]

static void Quantum.BitStreamExtensionsCore.Serialize ( this IBitStream  stream,
ref ComponentTypeRef  value 
)
inlinestatic

Serialize the ComponentTypeRef value.

Parameters
streamStream
valueValue to serialize or deserialize

◆ Serialize< T >()

static void Quantum.BitStreamExtensionsCore.Serialize< T > ( this IBitStream  stream,
ref AssetRef< T >  value 
)
inlinestatic

Serialize the AssetRef value where the asset is of type AssetObject.

Parameters
streamStream
valueValue to serialize or deserialize
Type Constraints
T :AssetObject