baseline: OpenMU upstream b5a0961 (fresh source)
This commit is contained in:
24
src/GameLogic/PlugIns/IAttackableGotHitPlugIn.cs
Normal file
24
src/GameLogic/PlugIns/IAttackableGotHitPlugIn.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
// <copyright file="IAttackableGotHitPlugIn.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 <see cref="IAttackable"/> got hit.
|
||||
/// </summary>
|
||||
[Guid("4FD59298-0424-4F93-83E5-290C8E7EB5E5")]
|
||||
[PlugInPoint("Attackable got hit", "Plugins which will be executed when an attackable object got hit by an attacker.")]
|
||||
public interface IAttackableGotHitPlugIn
|
||||
{
|
||||
/// <summary>
|
||||
/// This method is called when an <see cref="IAttackable"/> got hit.
|
||||
/// </summary>
|
||||
/// <param name="attackable">The attackable.</param>
|
||||
/// <param name="attacker">The attacker.</param>
|
||||
/// <param name="hitInfo">The hit information.</param>
|
||||
void AttackableGotHit(IAttackable attackable, IAttacker attacker, HitInfo hitInfo);
|
||||
}
|
||||
Reference in New Issue
Block a user