Merge pull request #1415 from MidoriKami/AddonLifecycle_IAddonArgs

This commit is contained in:
goat 2023-09-23 10:50:15 +02:00 committed by GitHub
commit c3dd2364bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 245 additions and 44 deletions

View file

@ -13,9 +13,9 @@ public interface IAddonLifecycle
/// <summary>
/// Delegate for receiving addon lifecycle event messages.
/// </summary>
/// <param name="eventType">The event type that triggered the message.</param>
/// <param name="addonInfo">Information about what addon triggered the message.</param>
public delegate void AddonEventDelegate(AddonEvent eventType, AddonArgs addonInfo);
/// <param name="type">The event type that triggered the message.</param>
/// <param name="args">Information about what addon triggered the message.</param>
public delegate void AddonEventDelegate(AddonEvent type, AddonArgs args);
/// <summary>
/// Register a listener that will trigger on the specified event and any of the specified addons.