revamping domain
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Shogi.Contracts.Api;
|
||||
|
||||
public class ReadSessionResponse
|
||||
{
|
||||
public Session Session { get; set; }
|
||||
}
|
||||
public class ReadSessionResponse
|
||||
{
|
||||
public Session Session { get; set; }
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
namespace Shogi.Contracts.Types
|
||||
namespace Shogi.Contracts.Types;
|
||||
|
||||
public class Session
|
||||
{
|
||||
public class Session
|
||||
{
|
||||
public string Player1 { get; set; }
|
||||
public string? Player2 { get; set; }
|
||||
public string SessionName { get; set; }
|
||||
public BoardState BoardState { get; set; }
|
||||
}
|
||||
public string Player1 { get; set; } = string.Empty;
|
||||
public string? Player2 { get; set; }
|
||||
public string SessionName { get; set; } = string.Empty;
|
||||
public bool GameOver { get; set; }
|
||||
public BoardState BoardState { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user