Adds the given function as a listener to the event. Note that this cannot be a lambda function because there will be no way to remove a lambda function listener later.
Removes the given function as a listener to the event.
Determines whether this event slot has any listeners.
The IEventSlot interface represents an event with custom parameters. Multiple listeners can be added/removed to/from an event.