All the code

This commit is contained in:
2020-12-13 14:27:36 -06:00
parent 9c3d67a07e
commit 9e6a7bca2c
49 changed files with 1878 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
using System.Collections.Generic;
using Websockets.ServiceModels.Interfaces;
using Websockets.ServiceModels.Types;
namespace Websockets.ServiceModels.Messages
{
public class LoadGameRequest : IRequest
{
public ClientAction Action { get; set; }
public string GameName { get; set; }
}
public class LoadGameResponse : IResponse
{
public string Action { get; private set; }
public Game Game { get; set; }
public IEnumerable<Move> Moves { get; set; }
public string Error { get; set; }
public LoadGameResponse(ClientAction action)
{
Action = action.ToString();
}
}
}