Split off ingame commands from server

This commit is contained in:
TheManii 2016-04-06 15:22:26 -07:00
parent c74e40f7d0
commit cdcdd6a584
5 changed files with 744 additions and 695 deletions

View file

@ -68,12 +68,13 @@ namespace FFXIVClassic_Lobby_Server
if (startServer)
{
Server server = new Server();
CommandProcessor cp = new CommandProcessor(server.GetConnectedPlayerList());
server.startServer();
while (true)
{
String input = Console.ReadLine();
server.doCommand(input, null);
cp.doCommand(input, null);
}
}