Photon Quantum 3.0.0

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

The base class of Quantum callbacks. More...

Inheritance diagram for Quantum.QuantumGame.CallbackBase:
Quantum.CallbackBase Quantum.IDispatchable 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.CallbackTaskProfilerReportGenerated Quantum.CallbackUnitySceneLoadBegin Quantum.CallbackUnitySceneLoadDone Quantum.CallbackUnitySceneUnloadBegin Quantum.CallbackUnitySceneUnloadDone Quantum.CallbackUpdateView

Public Member Functions

 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

static Type GetCallbackType (CallbackId id)
 Maps the const callback id CallbackId to a callback system type. More...
 

Properties

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

Additional Inherited Members

- Public Attributes inherited from Quantum.CallbackBase
readonly int ID
 The callback id. More...
 

Detailed Description

The base class of Quantum callbacks.

Constructor & Destructor Documentation

◆ CallbackBase()

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

Constructor.

Parameters
idThe const callback id.
gameThe game that the callback is invoked for

Member Function Documentation

◆ GetCallbackType()

static Type Quantum.QuantumGame.CallbackBase.GetCallbackType ( CallbackId  id)
inlinestatic

Maps the const callback id CallbackId to a callback system type.

Parameters
idCallback id
Returns
System type of the associated callback
Exceptions
ArgumentOutOfRangeExceptionIs raised when the id is not known

Property Documentation

◆ Game

new QuantumGame Quantum.QuantumGame.CallbackBase.Game
getset

The assigned game.