public void Mute(Client player, bool silent = false)
 {
     if (Listening.TryRemove(player))
     {
         if (!silent)
         {
             player.Message("Radio off.");
         }
     }
     Speaking.TryRemove(player);
     player.setData("RADIO_MODE", "off");
     player.UpdateHUD();
 }
        public bool Leave(Client player, bool removeMember = true)
        {
            bool wasRemoved = false;

            if (removeMember)
            {
                wasRemoved = ChannelMembers.Remove(player.GetCharacterId());
            }
            wasRemoved |= Listening.TryRemove(player);
            Speaking.TryRemove(player);
            if (wasRemoved)
            {
                player.SetRadioChannel(0);
                player.resetData("RADIO_MODE");
                player.UpdateHUD();
            }
            return(wasRemoved);
        }