private void onSetAgeOkCalllback()
    {
        mUserAgeImportTF.enabled = false;

        JsonData info = new JsonData();

        info["age"] = int.Parse(mUserAgeImportTF.text);
        UserInfoRpcProxy.UpdateUserInfo(info);
    }
    private void onSetCityOkCalllback()
    {
        mUserCityImportTF.enabled = false;

        JsonData info = new JsonData();

        info["city"] = (mUserCityImportTF.text);
        UserInfoRpcProxy.UpdateUserInfo(info);
        mUserVo.UserCityIsChange = true;
    }
    private void onSelectGirlCallback()
    {
        mUserGenderSelectMc.gameObject.SetActive(true);
        Vector3 newPosition = mUserGenderGirlBtn.transform.position;

        newPosition.x = newPosition.x + 20;
        newPosition.y = newPosition.y - 20;
        mUserGenderSelectMc.transform.position = newPosition;
        mUserGenderBoyBtn.enabled = mUserGenderGirlBtn.enabled = false;

        JsonData info = new JsonData();

        info["sex"] = UserVoBasic.GENDER_GIRL;
        UserInfoRpcProxy.UpdateUserInfo(info);
    }
Esempio n. 4
0
 private void onSetAboutMeHandle(string aboutMe)
 {
     if (mUserVo.UserIsRegister)
     {
         if (AboutMeTF.text != null && AboutMeTF.text != mUserVo.UserAboutMe.ToString())
         {
             JsonData info = new JsonData();
             info["profile"] = AboutMeTF.text;
             UserInfoRpcProxy.UpdateUserInfo(info);
         }
     }
     else
     {
         showHint("注册后才能修改信息哦!", mManager.GoRegisterHandle);
     }
 }