Files
Shogi/Gameboard.ShogiUI.Sockets.ServiceModels/Socket/CreateGame.cs
2021-09-03 22:43:06 -05:00

22 lines
473 B
C#

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