Exemplo n.º 1
0
 internal async Task ServerOutputNotification(ServerOutputNotification notification)
 {
     if (ConsoleOutputReceived != null)
     {
         await ConsoleOutputReceived?.Invoke(notification);
     }
 }
 public async Task Minecraft_ConsoleOutputDataReceived(ServerOutputNotification data)
 {
     await Application.Current.Dispatcher.InvokeAsync(delegate
     {
         _minecraftConsole.AddOutput(data.Line);
         MinecraftConsole.ScrollToBottom();
     });
 }