code cleanup

This commit is contained in:
2021-03-04 20:40:53 -06:00
parent 7ed771d467
commit 97ccff1fae
10 changed files with 36 additions and 41 deletions

View File

@@ -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; }
}
}

View File

@@ -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; }
}
}

View File

@@ -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
}
}