1st json over websocket test

This commit is contained in:
2023-03-16 15:20:28 +01:00
parent 405a14ad28
commit 4f85f6f793
7 changed files with 181 additions and 5 deletions

19
Mau/HandDTO.cs Normal file
View File

@@ -0,0 +1,19 @@
namespace MauMau_Server.Mau;
public class HandDTO
{
public List<string> _cards { get; set; } = new();
public HandDTO(List<Card> cards)
{
foreach (var card in cards)
{
_cards.Add(card.ToString());
}
}
public HandDTO()
{
}
}