using Core.Models.Eft.Common;
using Core.Models.Eft.Profile;
using Core.Services;
using SptCommon.Annotations;

namespace Core.Helpers.Dialogue.SptMessageHandlers;

[Injectable]
public class FishMessageHandler(
    MailSendService _mailSendService) : IChatMessageHandler
{
    public int GetPriority()
    {
        return 100;
    }

    public bool CanHandle(string message)
    {
        return message.ToLower() == "fish";
    }

    public void Process(string sessionId, UserDialogInfo sptFriendUser, PmcData sender)
    {
        _mailSendService.SendUserMessageToPlayer(
            sessionId,
            sptFriendUser,
            "blub",
            [],
            null
        );
    }
}
