Photon Quantum 3.0.0

Public Member Functions | Public Attributes | Properties | List of all members
Quantum.CallbackBase Class Reference

The base class for callbacks adds an id to the callback. More...

Inheritance diagram for Quantum.CallbackBase:
Quantum.IDispatchable Quantum.QuantumGame.CallbackBase Quantum.CallbackChecksumComputed Quantum.CallbackChecksumError Quantum.CallbackChecksumErrorFrameDump Quantum.CallbackEventCanceled Quantum.CallbackEventConfirmed Quantum.CallbackGameDestroyed Quantum.CallbackGameInit Quantum.CallbackGameResynced Quantum.CallbackGameStarted Quantum.CallbackInputConfirmed Quantum.CallbackLocalPlayerAddConfirmed Quantum.CallbackLocalPlayerAddFailed Quantum.CallbackLocalPlayerRemoveConfirmed Quantum.CallbackLocalPlayerRemoveFailed Quantum.CallbackPluginDisconnect Quantum.CallbackPollInput Quantum.CallbackSimulateFinished Quantum.CallbackUnitySceneLoadBegin Quantum.CallbackUnitySceneLoadDone Quantum.CallbackUnitySceneUnloadBegin Quantum.CallbackUnitySceneUnloadDone Quantum.CallbackUpdateView

Public Member Functions

 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...
 

Public Attributes

readonly int ID
 The callback id. More...
 

Properties

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

The base class for callbacks adds an id to the callback.

Constructor & Destructor Documentation

◆ CallbackBase() [1/2]

Quantum.CallbackBase.CallbackBase ( int  id)
inline

Create the callback with an id.

Parameters
idCallback id

◆ CallbackBase() [2/2]

Quantum.CallbackBase.CallbackBase ( int  id,
IDeterministicGame  game 
)
inline

Creates a callback with an id and a game.

Parameters
idCallback id
gameGame reference

Member Data Documentation

◆ ID

readonly int Quantum.CallbackBase.ID

The callback id.

Property Documentation

◆ Game

IDeterministicGame Quantum.CallbackBase.Game
getset

The game that the callback is dispatched to.