Files
Shogi/Gameboard.ShogiUI.Sockets.ServiceModels/Socket/CreateGame.cs

21 lines
475 B
C#

using Gameboard.ShogiUI.Sockets.ServiceModels.Types;
namespace Gameboard.ShogiUI.Sockets.ServiceModels.Socket
{
public class CreateGameResponse : ISocketResponse
{
public string Action { get; }
public SessionMetadata Game { get; set; }
/// <summary>
/// The player who created the game.
/// </summary>
public string PlayerName { get; set; }
public CreateGameResponse()
{
Action = ClientAction.CreateGame.ToString();
}
}
}