yep
This commit is contained in:
@@ -4,15 +4,17 @@ 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 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;
|
||||
}
|
||||
public PlayerHasMovedMessage()
|
||||
{
|
||||
Action = SocketAction.PieceMoved;
|
||||
SessionName = string.Empty;
|
||||
PlayerName = string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user