Example #1
0
    public RequestLogin requestLogin(string username, string password)
    {
        RequestLogin request = new RequestLogin();

        request.send(username, password);
        return(request);
    }
    public void Login(string username, string password)
    {
        RequestLogin request = new RequestLogin();

        request.send(username, password);
        cManager.send(request);
    }
Example #3
0
    public void Login()
    {
        username = usernameText.text.Trim();
        password = passwordText.text.Trim();
        RequestLogin request = new RequestLogin();

        request.send(username, password);
        cManager.send(request);
    }
Example #4
0
 public bool SendLoginRequest(string userID, string password)
 {
     if (cManager && cManager.IsConnected())
     {
         RequestLogin request = new RequestLogin();
         request.send(userID, password);
         cManager.send(request);
         return(true);
     }
     return(false);
 }
 public bool SendLoginRequest()
 {
     if (cManager && cManager.IsConnected())
     {
         RequestLogin request = new RequestLogin();
         request.send();
         cManager.send(request);
         return(true);
     }
     return(false);
 }