Implement LobbyServer

This commit is contained in:
2019-05-03 20:24:02 +02:00
parent e3a7e37411
commit ed1771664b
10 changed files with 306 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
namespace LobbyServer
{
class CommandPacket
{
public Command Command { get; }
public string Content { get; }
public CommandPacket(Command command, string content)
{
Command = command;
Content = content;
}
public override string ToString()
{
return $"{Command.ToString()}\n{Content}";
}
}
}