ported from perforce
This commit is contained in:
13
RobotAndDonkey.Game/Execution/Results/InventoryResult.cs
Normal file
13
RobotAndDonkey.Game/Execution/Results/InventoryResult.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using RobotAndDonkey.Game.Cards;
|
||||
|
||||
namespace RobotAndDonkey.Game.Execution.Results;
|
||||
|
||||
public record DeckResult(Guid RequestId, IReadOnlyList<Card> Deck) : Result(RequestId)
|
||||
{
|
||||
public override string ToString()
|
||||
{
|
||||
return $"Deck result: {string.Join(", ", Deck.Select(c => c.ToString()))}";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user