Photon Quantum 3.0.0

Public Attributes | Static Public Attributes | List of all members
Quantum.CallbackGameStarted Class Reference

Is called during QuantumGame.OnGameStart or QuantumGame.OnGameResync when the game is started after systems are initialized and the snapshot has arrived for late-joining clients. More...

Inheritance diagram for Quantum.CallbackGameStarted:
Quantum.QuantumGame.CallbackBase Quantum.CallbackBase Quantum.IDispatchable

Public Attributes

bool IsResync
 Is true if the game was started from a snapshot. More...
 
- Public Attributes inherited from Quantum.CallbackBase
readonly int ID
 The callback id. More...
 

Static Public Attributes

const new Int32 ID = (int)CallbackId.GameStarted
 The const CallbackGameStarted callback id. More...
 

Additional Inherited Members

- Public Member Functions inherited from Quantum.QuantumGame.CallbackBase
 CallbackBase (int id, QuantumGame game)
 Constructor. More...
 
- Public Member Functions inherited from Quantum.CallbackBase
 CallbackBase (int id)
 Create the callback with an id. More...
 
 CallbackBase (int id, IDeterministicGame game)
 Creates a callback with an id and a game. More...
 
- Static Public Member Functions inherited from Quantum.QuantumGame.CallbackBase
static Type GetCallbackType (CallbackId id)
 Maps the const callback id CallbackId to a callback system type. More...
 
- Properties inherited from Quantum.QuantumGame.CallbackBase
new QuantumGame Game [get, set]
 The assigned game. More...
 
- Properties inherited from Quantum.CallbackBase
IDeterministicGame Game [get, set]
 The game that the callback is dispatched to. More...
 
- Properties inherited from Quantum.IDispatchable
IDeterministicGame Game [get]
 The game that the callback or event is dispatched to. More...
 

Detailed Description

Is called during QuantumGame.OnGameStart or QuantumGame.OnGameResync when the game is started after systems are initialized and the snapshot has arrived for late-joining clients.

Member Data Documentation

◆ ID

const new Int32 Quantum.CallbackGameStarted.ID = (int)CallbackId.GameStarted
static

The const CallbackGameStarted callback id.

◆ IsResync

bool Quantum.CallbackGameStarted.IsResync

Is true if the game was started from a snapshot.