19 lines
No EOL
594 B
C#
19 lines
No EOL
594 B
C#
using System.Threading.Tasks;
|
|
using WingsEmu.Game._NpcDialog;
|
|
using WingsEmu.Game._NpcDialog.Event;
|
|
using WingsEmu.Game.Families.Event;
|
|
using WingsEmu.Game.Networking;
|
|
using WingsEmu.Packets.Enums;
|
|
|
|
namespace Plugin.FamilyImpl.NpcDialogs
|
|
{
|
|
public class OpenFamilyWarehouseHistHandler : INpcDialogAsyncHandler
|
|
{
|
|
public NpcRunType[] NpcRunTypes => new[] { NpcRunType.FAMILY_WAREHOUSE_HISTORY };
|
|
|
|
public async Task Execute(IClientSession session, NpcDialogEvent e)
|
|
{
|
|
await session.EmitEventAsync(new FamilyWarehouseLogsOpenEvent());
|
|
}
|
|
}
|
|
} |