// // Licensed under the MIT License. See LICENSE file in the project root for full license information. // namespace MUnique.OpenMU.GameLogic.PlugIns; using System.ComponentModel; using System.Runtime.InteropServices; using MUnique.OpenMU.PlugIns; /// /// A plugin interface which is called when an item is about to be moved by the player. /// [Guid("B652F4DF-6BE9-430E-BD83-DD5FBB1228D2")] [PlugInPoint("Item moving", "Plugins which are called when an item is about to be moved by the player.")] public interface IItemMovingPlugIn { /// /// Is called when an item is about to be moved by the player. /// /// The player. /// The item. /// The target storage. /// The slot. /// The instance containing the event data. The move can be cancelled by setting to true. void ItemMoving(Player player, Item item, Storages targetStorage, int slot, CancelEventArgs eventArgs); }