code cleanup
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
|
||||
namespace Gameboard.ShogiUI.Sockets.ServiceModels.Api.Messages
|
||||
{
|
||||
public class GetTokenResponse
|
||||
{
|
||||
public Guid OneTimeToken { get; }
|
||||
public class GetTokenResponse
|
||||
{
|
||||
public Guid OneTimeToken { get; }
|
||||
|
||||
public GetTokenResponse(Guid token)
|
||||
{
|
||||
OneTimeToken = token;
|
||||
}
|
||||
public GetTokenResponse(Guid token)
|
||||
{
|
||||
OneTimeToken = token;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
namespace Gameboard.ShogiUI.Sockets.ServiceModels.Socket.Interfaces
|
||||
{
|
||||
public interface IRequest
|
||||
{
|
||||
ClientAction Action { get; set; }
|
||||
}
|
||||
public interface IRequest
|
||||
{
|
||||
ClientAction Action { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
namespace Gameboard.ShogiUI.Sockets.ServiceModels.Socket.Interfaces
|
||||
{
|
||||
public interface IResponse
|
||||
{
|
||||
string Action { get; }
|
||||
string Error { get; set; }
|
||||
}
|
||||
public interface IResponse
|
||||
{
|
||||
string Action { get; }
|
||||
string Error { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
namespace Gameboard.ShogiUI.Sockets.ServiceModels.Socket.Types
|
||||
{
|
||||
public enum ClientAction
|
||||
{
|
||||
ListGames,
|
||||
CreateGame,
|
||||
JoinGame,
|
||||
JoinByCode,
|
||||
LoadGame,
|
||||
Move,
|
||||
KeepAlive
|
||||
}
|
||||
public enum ClientAction
|
||||
{
|
||||
ListGames,
|
||||
CreateGame,
|
||||
JoinGame,
|
||||
JoinByCode,
|
||||
LoadGame,
|
||||
Move,
|
||||
KeepAlive
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user