TigerEmu/Communication/Messages/Incoming/Handshake/SsoTicketMessageEvent.cs

20 lines
752 B
C#
Raw Permalink Normal View History

using Microsoft.Extensions.Logging;
2023-09-23 11:11:07 +00:00
using Tiger.Communication.Messages.Interfaces;
using Tiger.Communication.Messages.Outgoing.Notifications;
using Tiger.Communication.Messages.Outgoing.Security;
2023-09-23 11:11:07 +00:00
using Tiger.Communication.Messages.Types;
using Tiger.Networking.Game.Sessions;
2023-09-23 12:20:45 +00:00
using Tiger.Storage;
2023-09-23 11:11:07 +00:00
namespace Tiger.Communication.Messages.Incoming.Handshake;
public class SsoTicketMessageEvent : IMessageEvent
2023-09-23 11:11:07 +00:00
{
public IncomingHeaders Header => IncomingHeaders.SecurityTicket;
2023-09-23 11:11:07 +00:00
public async Task HandleAsync(GameSession gameSession, ClientMessage request)
{
await gameSession.SendComposerAsync(new AuthenticatedComposer());
2024-02-18 12:43:34 +00:00
await gameSession.SendComposerAsync(new HabboBroadcastMessageComposer("Beep goes the jeep"));
2023-09-23 11:11:07 +00:00
}
}