Photon Quantum 3.0.0

Public Member Functions | List of all members
Quantum.ISignalOnPlayerConnected Interface Reference

More...

Inheritance diagram for Quantum.ISignalOnPlayerConnected:
Quantum.ISignal

Public Member Functions

void OnPlayerConnected (Frame f, PlayerRef player)
 The signal is called when a player has successfully joined the simulation. More...
 

Additional Inherited Members

- Properties inherited from Quantum.ISignal
Int32 RuntimeIndex [get]
 Index of the signal in the runtime. More...
 

Detailed Description

Member Function Documentation

◆ OnPlayerConnected()

void Quantum.ISignalOnPlayerConnected.OnPlayerConnected ( Frame  f,
PlayerRef  player 
)

The signal is called when a player has successfully joined the simulation.

It's originating from the Core.PlayerConnectedSystem.

The connected status is based on the DeterministicFrame.GetPlayerInputFlags.

The signal is always called from a verified frame.

Parameters
fThe frame reference.
playerThe player that connected.