public BotClient AddBot() { BotClient client = new BotClient(CurrentPort); BotClients.Add(CurrentPort, client); CurrentPort++; return client; }
public void StartLogin(BotClient client) { // Connect to current server client.Session.Connect(ConnectionServerEndpoint); // TODO: Send Basic Login Message byte[] loginData = new byte[1024]; client.Session.SendAsync(loginData); }