Photon Quantum 3.0.0

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

Callback called when an event raised in a predicted frame was canceled in a verified frame due to a roll-back / missed prediction. Synchronised events are only raised on verified frames and thus will never be canceled; this is useful to graciously discard non-sync'ed events in the view. More...

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

Public Attributes

EventKey EventKey
 The event key of the event that was canceled. More...
 
- Public Attributes inherited from Quantum.CallbackBase
readonly int ID
 The callback id. More...
 

Static Public Attributes

const new Int32 ID = (int)CallbackId.EventCanceled
 The const CallbackEventCanceled 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

Callback called when an event raised in a predicted frame was canceled in a verified frame due to a roll-back / missed prediction. Synchronised events are only raised on verified frames and thus will never be canceled; this is useful to graciously discard non-sync'ed events in the view.

Member Data Documentation

◆ ID

const new Int32 Quantum.CallbackEventCanceled.ID = (int)CallbackId.EventCanceled
static

The const CallbackEventCanceled callback id.

◆ EventKey

EventKey Quantum.CallbackEventCanceled.EventKey

The event key of the event that was canceled.