mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 05:24:34 +02:00
Split off ingame commands from server
This commit is contained in:
parent
c74e40f7d0
commit
cdcdd6a584
5 changed files with 744 additions and 695 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue