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

            return client;
        }
예제 #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);
        }