19 lines
410 B
C#
19 lines
410 B
C#
using Shogi.Contracts.Types;
|
|
|
|
namespace Shogi.Contracts.Socket;
|
|
|
|
public class MoveResponse : ISocketResponse
|
|
{
|
|
public SocketAction Action { get; }
|
|
public string SessionName { get; set; } = string.Empty;
|
|
/// <summary>
|
|
/// The player that made the move.
|
|
/// </summary>
|
|
public string PlayerName { get; set; } = string.Empty;
|
|
|
|
public MoveResponse()
|
|
{
|
|
Action = SocketAction.PieceMoved;
|
|
}
|
|
}
|