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