Remove array copy of handlers.

This commit is contained in:
MidoriKami 2023-09-08 21:07:03 -07:00
parent 967c79fdd3
commit 1b4bee3d13
2 changed files with 10 additions and 15 deletions

View file

@ -77,9 +77,8 @@ public interface IAddonLifecycle
/// <summary>
/// Unregister all events that use the specified handlers.
/// </summary>
/// <param name="handler">Event handler to remove.</param>
/// <param name="handlers">Additional handlers to remove.</param>
void UnregisterListener(AddonEventDelegate handler, params AddonEventDelegate[] handlers);
/// <param name="handlers">Handlers to remove.</param>
void UnregisterListener(params AddonEventDelegate[] handlers);
/// <summary>
/// Addon argument data for use in event subscribers.