2023-09-23 16:51:16 +00:00
|
|
|
using Microsoft.Extensions.Logging;
|
2023-09-23 11:11:07 +00:00
|
|
|
using Tiger.Communication.Messages.Interfaces;
|
2023-10-14 16:21:53 +00:00
|
|
|
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;
|
|
|
|
|
2023-10-14 16:21:53 +00:00
|
|
|
public class SsoTicketMessageEvent : IMessageEvent
|
2023-09-23 11:11:07 +00:00
|
|
|
{
|
2023-10-14 16:21:53 +00:00
|
|
|
public IncomingHeaders Header => IncomingHeaders.SecurityTicket;
|
2023-09-23 11:11:07 +00:00
|
|
|
|
|
|
|
public async Task HandleAsync(GameSession gameSession, ClientMessage request)
|
|
|
|
{
|
2023-10-14 16:21:53 +00:00
|
|
|
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
|
|
|
}
|
|
|
|
}
|