baseline: OpenMU upstream b5a0961 (fresh source)

This commit is contained in:
Acentech Dev
2026-07-14 19:00:35 +03:00
parent 450402e47d
commit 36fc125d5c
11968 changed files with 748705 additions and 0 deletions

View File

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