namespaces and guest game invitations

This commit is contained in:
2021-01-25 20:41:14 -06:00
parent 495fb288e1
commit 1352d75c6a
38 changed files with 262 additions and 208 deletions

View File

@@ -1,24 +1,23 @@
using System.Collections.Generic;
using Gameboard.ShogiUI.Sockets.ServiceModels.Socket.Interfaces;
using Gameboard.ShogiUI.Sockets.ServiceModels.Socket.Types;
using System.Collections.Generic;
using Websockets.ServiceModels.Interfaces;
using Websockets.ServiceModels.Types;
namespace Websockets.ServiceModels.Messages
namespace Gameboard.ShogiUI.Sockets.ServiceModels.Socket.Messages
{
public class ListGamesRequest : IRequest
{
public ClientAction Action { get; set; }
}
public class ListGamesRequest : IRequest
{
public ClientAction Action { get; set; }
}
public class ListGamesResponse : IResponse
{
public string Action { get; private set; }
public string Error { get; set; }
public IEnumerable<Game> Games { get; set; }
public class ListGamesResponse : IResponse
{
public string Action { get; private set; }
public string Error { get; set; }
public IEnumerable<Game> Games { get; set; }
public ListGamesResponse(ClientAction action)
{
Action = action.ToString();
}
public ListGamesResponse(ClientAction action)
{
Action = action.ToString();
}
}
}