Photon Quantum 3.0.0

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

Support for Multiplayer Play Mode (MPPM). It uses named pipes to communicate between the main Unity instance and virtual instances. More...

Public Member Functions

void Send< T > (T data)
 Sends a command to all virtual instances. Use as: More...
 

Static Public Member Functions

static void Broadcast< T > (T data)
 Broadcasts a command to all virtual instances. More...
 

Static Public Attributes

static readonly QuantumMppm MainEditor = null
 If Status is QuantumMppmStatus.MainInstance, this static field can be used to send commands. More...
 
static readonly QuantumMppmStatus Status = QuantumMppmStatus.Disabled
 The current status of MPPM. More...
 

Detailed Description

Support for Multiplayer Play Mode (MPPM). It uses named pipes to communicate between the main Unity instance and virtual instances.

Member Function Documentation

◆ Send< T >()

void Quantum.QuantumMppm.Send< T > ( data)
inline

Sends a command to all virtual instances. Use as:

QuantumMppm.MainEditor?.Send

Parameters
data
Template Parameters
T
Type Constraints
T :QuantumMppmCommand 

◆ Broadcast< T >()

static void Quantum.QuantumMppm.Broadcast< T > ( data)
inlinestatic

Broadcasts a command to all virtual instances.

Template Parameters
T
Parameters
data
Type Constraints
T :QuantumMppmCommand 

Member Data Documentation

◆ Status

readonly QuantumMppmStatus Quantum.QuantumMppm.Status = QuantumMppmStatus.Disabled
static

The current status of MPPM.

◆ MainEditor

readonly QuantumMppm Quantum.QuantumMppm.MainEditor = null
static

If Status is QuantumMppmStatus.MainInstance, this static field can be used to send commands.