Added:
All checks were successful
Build Mau & Deploy Mau / build (push) Successful in 1m33s
Build Mau & Deploy Mau / deploy (push) Has been skipped

- Chat message cleaning to prevent HTML injection
- Player hand size to game state
- Deck automatically creates sets when it doesnt have any cards left
This commit is contained in:
DTieman
2024-04-21 16:27:58 +02:00
parent 1e51defad5
commit 3c2032a800
3 changed files with 26 additions and 2 deletions

View File

@@ -33,10 +33,12 @@ public class PlayerDTO
{
public string Name { get; set; }
public string Id { get; set; }
public int CardsLeft { get; set; }
public PlayerDTO(Player player)
{
Name = player.Connection.Name;
Id = player.Connection.ConnectionId;
CardsLeft = player.Hand.Count;
}
}