Revize 5cb4249a
Přidáno uživatelem Eliška Mourycová před více než 3 roky(ů)
Server/ServerApp/User/CommandsAcceptor.cs | ||
---|---|---|
28 | 28 |
public void AcceptCommand() |
29 | 29 |
{ |
30 | 30 |
while (true) { |
31 |
Console.Write(">"); |
|
31 | 32 |
string command = Console.ReadLine(); |
32 |
Console.WriteLine("received admin command: " + command); |
|
33 |
Command c = ParseString(command); |
|
34 |
CheckCommand(c); |
|
35 |
//Program.NotifyUserMessage(command); |
|
33 |
if(command.Length > 0) |
|
34 |
{ |
|
35 |
Console.WriteLine("received admin command: " + command); |
|
36 |
Command c = ParseString(command); |
|
37 |
CheckCommand(c); |
|
38 |
//Program.NotifyUserMessage(command); |
|
39 |
} |
|
40 |
|
|
36 | 41 |
} |
37 | 42 |
} |
38 | 43 |
|
Také k dispozici: Unified diff
Modified XML deserialization + commands acceptor