Class DynamicEventManager
The class which handles all the multicast delegates.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.API.Features.DynamicEvents
Assembly: Exiled.API.dll
Syntax
public class DynamicEventManager : StaticActor, IEntity, IWorldSpace, IPosition, IRotation
Methods
| Improve this Doc View SourceBindAllFromTypeInstance(Object)
Initializes all the dynamic handlers in the specified type instance.
Declaration
public void BindAllFromTypeInstance(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The type instance. |
CreateFromTypeInstance(Object)
Declaration
public static void CreateFromTypeInstance(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
DestroyFromTypeInstance(Object)
Declaration
public static void DestroyFromTypeInstance(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
InvokeSafely(DynamicEventManager.FDelegate)
Executes all DynamicEventManager.FDelegate<T> listeners safely.
Declaration
public void InvokeSafely(DynamicEventManager.FDelegate ev)
Parameters
Type | Name | Description |
---|---|---|
DynamicEventManager.FDelegate | ev | Source event. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Event is null. |
InvokeSafely<T>(DynamicEventManager.FDelegate<T>, T)
Executes all DynamicEventManager.FDelegate<T> listeners safely.
Declaration
public void InvokeSafely<T>(DynamicEventManager.FDelegate<T> ev, T arg)
where T : EventArgs
Parameters
Type | Name | Description |
---|---|---|
DynamicEventManager.FDelegate<T> | ev | Source event. |
T | arg | Event arg. |
Type Parameters
Name | Description |
---|---|
T | Event arg type. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Event or its arg is null. |
UnbindAllFromTypeInstance(Object)
Unbinds all the dynamic handlers in the specified type instance.
Declaration
public void UnbindAllFromTypeInstance(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The type instance. |