// // Licensed under the MIT License. See LICENSE file in the project root for full license information. // namespace MUnique.OpenMU.GameLogic.PlugIns; using System.Runtime.InteropServices; using MUnique.OpenMU.PlugIns; /// /// A plugin interface which is called after an item got consumed. /// [Guid("C6407782-58C7-460D-B01D-CA6D15C742E1")] [PlugInPoint("Item consumed", "Plugins which will be executed when an item got consumed.")] public interface IItemConsumedPlugIn { /// /// Is called after an item got consumed. /// /// The player. /// The item. /// The target item, e.g. an armor piece which gets upgraded by the consumption of a jewel. void ItemConsumed(Player player, Item item, Item? targetItem); }