Skip to main content

EffectEventHandler

A delegate in Root.Township, Alta.Alchemy.

Delegate for effect events. The plain version takes an EffectDefinition; the generic version takes the effect object and is used by DurationEffect.Stopped.

Constructors​

MemberWhat it is
EffectEventHandler(object object, IntPtr method)Made by the compiler when you assign a method to this delegate; you don't call it directly.

Methods​

MemberWhat it is
virtual IAsyncResult BeginInvoke(EffectDefinition effect, AsyncCallback callback, object object)Starts the call on another thread; not supported in Unity, so use Invoke.
virtual void EndInvoke(IAsyncResult result)Waits for a call started with BeginInvoke; not supported in Unity.
virtual void Invoke(EffectDefinition effect)Calls every method on this delegate with these arguments.