예제 #1
0
 public void OnLoginButton()
 {
     hintMassage.text  = "";          //登录时将提示信息清空
     loginRequest.Name = nameIF.text; //获取控件中的文字
     loginRequest.Pwd  = pwdIF.text;
     loginRequest.DefaultRequest();   //发起请求
 }
예제 #2
0
 public void DefaultRequest()
 {
     Tip.text = "";
     loginrequest.username = usernameIF.text;
     loginrequest.password = passwordIF.text;
     loginrequest.DefaultRequest();
 }
예제 #3
0
 public void OnLoginButton()
 {
     hintMessage.text      = "";
     loginRequest.Username = usernameIF.text;
     loginRequest.Password = passwordIF.text;
     loginRequest.DefaultRequest();
 }
 public void OnLoginButton()
 {
     hintMessage.text      = "";
     loginRequest.UserName = userNameInput.text;
     loginRequest.PassWord = passWordInput.text;
     loginRequest.DefaultRequest();
 }
예제 #5
0
 /// <summary>
 /// 登录按钮
 /// </summary>
 private void OnLoginBtn()
 {
     ResponseText.text     = "";
     loginRequest.username = username.text;
     loginRequest.password = password.text;
     loginRequest.DefaultRequest();
     Debug.Log("OnLoginBtn");
 }
예제 #6
0
    public void OnLoginButton()
    {
        m_hitMessage.text = "";

        m_loginRequest.m_userName = m_userNameIF.text;
        m_loginRequest.m_passWord = m_passwordIF.text;
        m_loginRequest.DefaultRequest();
    }
    public void OnLoginClick()
    {
        message.text          = "";
        loginRequest.Username = usernameIF.text;
        loginRequest.Password = passwordIF.text;

        loginRequest.DefaultRequest();
    }
예제 #8
0
    public void OnLoginButton()
    {
        //点击登陆按钮时,发送请求
        hintmessage.text = "";

        loginRequest.UserName = username.text;
        loginRequest.Password = password.text;

        //调用请求类中的发起请求
        loginRequest.DefaultRequest();
    }
예제 #9
0
    public void OnLogin()
    {
        if (loginUsername.text == "" || loginPassword.text == "")
        {
            Debug.Log("用户名或者密码不能为空");
            return;
        }

        loginRequest.UserName = loginUsername.text;
        loginRequest.Password = loginPassword.text;

        loginRequest.DefaultRequest();
    }
예제 #10
0
    public void OnLoginButtonDown()
    {
        string strUserName = usernameIF.text;
        string strPassword = passwordIF.text;

        if (strUserName == "")
        {
            SetHitText("账号不能为空");
        }
        else if (strPassword == "")
        {
            SetHitText("密码不能为空");
        }
        else
        {
            SetHitText("");
            scriptLoginRequest.UserName = strUserName;
            scriptLoginRequest.PassWord = strPassword;
            scriptLoginRequest.DefaultRequest();
        }
        Debug.Log("Login U:" + strUserName + " P:" + strPassword);
    }
예제 #11
0
 void OnLoginButton()
 {
     loginRequest.Username = usernameIF.text;
     loginRequest.Password = passwordIF.text;
     loginRequest.DefaultRequest();
 }
예제 #12
0
 private void OnLoginButtonClick()
 {
     _loginRequest.Username = _usernameInputField.text;
     _loginRequest.Password = MD5Util.GetMD5(_passwordInputField.text);
     _loginRequest.DefaultRequest();
 }
예제 #13
0
 void SendRequest()
 {
     loginRequest.DefaultRequest();      // 发起登录请求脚本的默认请求
 }
예제 #14
0
 private void OnLogin()
 {
     LoginRequest.userName = input_userName.text;
     LoginRequest.passWord = input_passWord.text;
     LoginRequest.DefaultRequest();
 }