server-master/srcs/WingsAPI.Game/Battle/Event/ProcessHitEvent.cs
2026-02-10 18:21:30 +01:00

23 lines
No EOL
591 B
C#

// WingsEmu
//
// Developed by NosWings Team
using PhoenixLib.Events;
using WingsEmu.Game.Entities;
using WingsEmu.Game.Helpers.Damages;
namespace WingsEmu.Game.Battle;
public class ProcessHitEvent : IAsyncEvent
{
public ProcessHitEvent(IBattleEntity caster, IBattleEntity target, SkillInfo skill, Position position)
{
Caster = caster;
Target = target;
HitInformation = new HitInformation(caster, skill, position);
}
public IBattleEntity Caster { get; }
public IBattleEntity Target { get; }
public HitInformation HitInformation { get; }
}