/// <summary>
        /// Handle a new Minecraft Client
        /// </summary>
        /// <param name="client">Client to handle</param>

        private void initClient(MCCClient client)
        {
            Client       = client;
            t_clientread = new Thread(new ThreadStart(t_clientread_loop));
            BotBox.allthreads.Add(t_clientread);
            t_clientread.Start();
            box_input.Select();
        }
Esempio n. 2
0
 public OutputWriter(MCCClient mcc)
 {
     MCCClient = mcc;
 }
Esempio n. 3
0
 public void RUN(MCCClient client)
 {
     testmode = false;
     RUN($"BOT {client.ID}", new OutputWriter(client));
 }