1st json over websocket test
This commit is contained in:
19
Mau/HandDTO.cs
Normal file
19
Mau/HandDTO.cs
Normal 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()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user