server-master/srcs/_plugins/WingsEmu.Plugins.BasicImplementation/Ship/Event/ShipLeaveEventHandler.cs
2026-02-10 18:21:30 +01:00

12 lines
No EOL
404 B
C#

using System.Threading;
using System.Threading.Tasks;
using PhoenixLib.Events;
using WingsEmu.Game.Extensions;
using WingsEmu.Game.Ship.Event;
namespace WingsEmu.Plugins.BasicImplementations.Ship.Event;
public class ShipLeaveEventHandler : IAsyncEventProcessor<ShipLeaveEvent>
{
public async Task HandleAsync(ShipLeaveEvent e, CancellationToken cancellation) => e.Sender.ChangeToLastBaseMap();
}