Exemple #1
0
        public BotClient AddBot()
        {
            BotClient client = new BotClient(CurrentPort);
            BotClients.Add(CurrentPort, client);
            CurrentPort++;

            return client;
        }
Exemple #2
0
        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);
        }