22 lines
473 B
C#
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();
|
|
}
|
|
}
|
|
}
|