massive checkpoint
This commit is contained in:
17
Gameboard.ShogiUI.Sockets.ServiceModels/Api/GetGame.cs
Normal file
17
Gameboard.ShogiUI.Sockets.ServiceModels/Api/GetGame.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Gameboard.ShogiUI.Sockets.ServiceModels.Types;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Gameboard.ShogiUI.Sockets.ServiceModels.Api
|
||||
{
|
||||
public class GetGameResponse
|
||||
{
|
||||
public Game Game { get; set; }
|
||||
public WhichPlayer PlayerPerspective { get; set; }
|
||||
public BoardState BoardState { get; set; }
|
||||
public IList<Move> MoveHistory { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -5,9 +5,6 @@ namespace Gameboard.ShogiUI.Sockets.ServiceModels.Api
|
||||
{
|
||||
public class PostMove
|
||||
{
|
||||
[Required]
|
||||
public string GameName { get; set; }
|
||||
|
||||
[Required]
|
||||
public Move Move { get; set; }
|
||||
}
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
public class PostSession
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string Player1 { get; set; }
|
||||
public string Player2 { get; set; }
|
||||
public bool IsPrivate { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user