private void SendDeathMessage(int accountId, ushort temporaryId)
        {
            int             placeInBattle   = alivePlayerAndBotsGroup.count;
            PlayerDeathData playerDeathData = new PlayerDeathData
            {
                PlayerAccountId = accountId,
                PlaceInBattle   = placeInBattle,
                MatchId         = matchId
            };

            playerDeathHandler.PlayerDeath(playerDeathData, temporaryId, false);
        }
        public void PlayerDeath(PlayerDeathData playerDeathData, ushort temporaryId, bool sendNotificationToPlayer)
        {
            if (sendNotificationToPlayer)
            {
                udpSendUtils.SendShowAchievementsMessage(playerDeathData.MatchId, temporaryId);
            }

            Task.Run(async() =>
            {
                //todo вынести это в отдельную систему
                await Task.Delay(10_000);
                ipAddressesStorage.TryRemoveIpEndPoint(playerDeathData.MatchId, temporaryId);
            });

            SendPlayerDeathMessageToMatchmaker(playerDeathData);
        }
 private void SendPlayerDeathMessageToMatchmaker(PlayerDeathData playerDeathData)
 {
     matchmakerNotifier.MarkPlayerAsExcluded(playerDeathData);
 }