12 lines
No EOL
404 B
C#
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();
|
|
} |