Exemple #1
0
        static void Main(string[] args)
        {
            SimpleWalkerBot   bot  = new SimpleWalkerBot();
            SkyportConnection conn = new SkyportConnection("localhost", 54321, bot);

            conn.Run();

            Console.WriteLine("finished");
            Console.ReadKey();
        }
Exemple #2
0
 public void OnConnectionEstablished(SkyportConnection connectionArg)
 {
     connection = connectionArg;
     Console.WriteLine("Connection established");
     connection.SendHandshake(BotName);
 }