checkpoint
This commit is contained in:
@@ -17,14 +17,15 @@ namespace Gameboard.ShogiUI.Sockets.ServiceModels.Socket
|
||||
public class JoinGameResponse : IResponse
|
||||
{
|
||||
public string Action { get; protected set; }
|
||||
public string Error { get; set; }
|
||||
public string GameName { get; set; }
|
||||
/// <summary>
|
||||
/// The player who joined the game.
|
||||
/// </summary>
|
||||
public string PlayerName { get; set; }
|
||||
|
||||
public JoinGameResponse()
|
||||
{
|
||||
Action = ClientAction.JoinGame.ToString();
|
||||
Error = "";
|
||||
GameName = "";
|
||||
PlayerName = "";
|
||||
}
|
||||
|
||||
@@ -1,15 +1,16 @@
|
||||
using Gameboard.ShogiUI.Sockets.ServiceModels.Types;
|
||||
using System.Collections.Generic;
|
||||
using Gameboard.ShogiUI.Sockets.ServiceModels.Api;
|
||||
using Gameboard.ShogiUI.Sockets.ServiceModels.Types;
|
||||
|
||||
namespace Gameboard.ShogiUI.Sockets.ServiceModels.Socket
|
||||
{
|
||||
public class MoveResponse : IResponse
|
||||
{
|
||||
public string Action { get; protected set; }
|
||||
public Game Game { get; set; }
|
||||
public WhichPlayer PlayerPerspective { get; set; }
|
||||
public BoardState BoardState { get; set; }
|
||||
public IList<Move> MoveHistory { get; set; }
|
||||
public string Action { get; }
|
||||
public string GameName { get; set; }
|
||||
/// <summary>
|
||||
/// The player that made the move.
|
||||
/// </summary>
|
||||
public string PlayerName { get; set; }
|
||||
|
||||
public MoveResponse()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user