Photon Quantum 3.0.0

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

A callback dispatcher interface. Implementations of this interface are responsible for dispatching callbacks to the runtime. More...

Inheritance diagram for Quantum.ICallbackDispatcher:
Quantum.CallbackDispatcher Quantum.QuantumUnityCallbackDispatcher

Public Member Functions

bool HasAnyListeners (CallbackBase e)
 Returns true if the callback has any listeners. More...
 
bool Publish (CallbackBase e)
 Notifies the runtime of a callback. More...
 

Detailed Description

A callback dispatcher interface. Implementations of this interface are responsible for dispatching callbacks to the runtime.

Member Function Documentation

◆ Publish()

bool Quantum.ICallbackDispatcher.Publish ( CallbackBase  e)

Notifies the runtime of a callback.

Parameters
e
Returns
True if there were any event handlers. Currently, this value is unused.

Implemented in Quantum.CallbackDispatcher.

◆ HasAnyListeners()

bool Quantum.ICallbackDispatcher.HasAnyListeners ( CallbackBase  e)

Returns true if the callback has any listeners.

Implemented in Quantum.CallbackDispatcher.