private void RPC_SetPlayinCard(string rank, string suit) { CardSerializer datas = new CardSerializer(rank, suit); Card card = new Card(datas); dataManager.AddCardsToPlayingDeck(card); card = PlayerFunctions.GetSameCard(card, GetAllCards()); dataManager.RemoveCardsFromAllCards(card); }