Interface GameEventBase<TListener, TCodeListener>.IDispatchInvoker
- Namespace
- ElectricDrill.AstraRpgFramework.Events
- Assembly
- com.electricdrill.astra-rpg-framework.Runtime.dll
Invokes the concrete listener signatures for the current raise without introducing per-raise heap allocations.
protected interface GameEventBase<TListener, TCodeListener>.IDispatchInvoker
Methods
InvokeCodeListener(TCodeListener)
Invokes the concrete code listener.
void InvokeCodeListener(TCodeListener listener)
Parameters
listenerTCodeListenerThe listener delegate to invoke.
InvokeListener(TListener)
Invokes the concrete MonoBehaviour-based listener.
void InvokeListener(TListener listener)
Parameters
listenerTListenerThe listener instance to invoke.