Пример #1
0
 private void HandleServerStart()
 {
     SLVPlayers.Items.Clear();
     MCCOut.Clear();
     CIConsoleInput.ClearAutoCompletionHistory();
     MCCOut.WriteOutput(MessageType.Info, "[GUI] Starting a new server");
 }
Пример #2
0
 /// <summary>
 ///     Print output to the console
 /// </summary>
 /// <param name="text"></param>
 /// <param name="outputParseResult"></param>
 private void PrintOutput(string text, OutputParseResult outputParseResult)
 {
     MCCOut.WriteOutput(outputParseResult.Type, outputParseResult.Message);
 }
Пример #3
0
 private void HandleServerStop()
 {
     SLVPlayers.Items.Clear();
     CIConsoleInput.ClearAutoCompletionHistory();
     MCCOut.WriteOutput(MessageType.Info, "[GUI] The server has stopped");
 }