static void Main(string[] args) { SimpleWalkerBot bot = new SimpleWalkerBot(); SkyportConnection conn = new SkyportConnection("localhost", 54321, bot); conn.Run(); Console.WriteLine("finished"); Console.ReadKey(); }
public void OnConnectionEstablished(SkyportConnection connectionArg) { connection = connectionArg; Console.WriteLine("Connection established"); connection.SendHandshake(BotName); }