Photon Quantum 3.0.0

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

More...

Inheritance diagram for Quantum.ISignalOnPlayerAdded:
Quantum.ISignal

Public Member Functions

void OnPlayerAdded (Frame f, PlayerRef player, bool firstTime)
 This signal is called when a player was successfully added to the simulation and the server accepted the RuntimePlayer data. 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

◆ OnPlayerAdded()

void Quantum.ISignalOnPlayerAdded.OnPlayerAdded ( Frame  f,
PlayerRef  player,
bool  firstTime 
)

This signal is called when a player was successfully added to the simulation and the server accepted the RuntimePlayer data.

The signal is always called from a verified frame.

Parameters
fThe frame reference.
playerThe player that was added.
firstTimeThe first time that this player ref was assigned to a player at all. When firstTime is false the player ref is being reused by a different player. See documentation.