Пример #1
0
        bool Discard()
        {
            var discards = playerControl1.Discards;

            using (MyServiceClient c = new MyServiceClient(generalData.ServerIP))
            {
                var newCards = c.ChangeCards(generalData.GameName, generalData.TeamName, generalData.UserName, discards.ToArray());
                playerControl1.ChangeDiscards(newCards);
            }
            return(true);
        }