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); }
public void Login() { username = usernameText.text.Trim(); password = passwordText.text.Trim(); RequestLogin request = new RequestLogin(); request.send(username, password); cManager.send(request); }
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); }