baseline: OpenMU upstream b5a0961 (fresh source)
This commit is contained in:
24
src/GameLogic/PlugIns/IItemTradedToOtherPlayerPlugIn.cs
Normal file
24
src/GameLogic/PlugIns/IItemTradedToOtherPlayerPlugIn.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
// <copyright file="IItemTradedToOtherPlayerPlugIn.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 when an item got traded to another player.
|
||||
/// </summary>
|
||||
[PlugInPoint("Item traded", "Is called when an item got traded to another player.")]
|
||||
[Guid("30DC381B-3A32-4824-8A47-A24B985C3C62")]
|
||||
public interface IItemTradedToOtherPlayerPlugIn
|
||||
{
|
||||
/// <summary>
|
||||
/// Is called when an item got traded to another player.
|
||||
/// </summary>
|
||||
/// <param name="source">The source player.</param>
|
||||
/// <param name="target">The target player.</param>
|
||||
/// <param name="item">The traded item.</param>
|
||||
void ItemTraded(ITrader source, ITrader target, Item item);
|
||||
}
|
||||
Reference in New Issue
Block a user