void losepassword() { if (!KBEngineApp.validEmail(username.input.text)) { log_label.obj.color = UnityEngine.Color.red; log_label.obj.text = "请在用户名处输入合法的邮箱地址,系统将发送一份验证邮件帮助您找回密码!"; return; } KBEngineApp.app.resetpassword_loginapp(true); }
public void onCreateAccountResult(UInt16 retcode, byte[] datas) { if (retcode != 0) { err("注册账号错误! err=" + KBEngineApp.app.serverErr(retcode)); return; } if (KBEngineApp.validEmail(stringAccount)) { info("注册账号成功,请激活Email!"); } else { info("注册账号成功!"); } }
public void onCreateAccountResult(UInt16 retcode, byte[] datas) { if (retcode != 0) { err("createAccount is error(注册账号错误)! err=" + KBEngineApp.app.serverErr(retcode)); return; } if (KBEngineApp.validEmail(stringAccount)) { info("createAccount is successfully, Please activate your Email!(注册账号成功,请激活Email!)"); } else { info("createAccount is successfully!(注册账号成功!)"); } }
public void onCreateAccountResult(IKBEvent eventData) { KBS_CreateAccountResult data = (KBS_CreateAccountResult)eventData; if (data.retcode != 0) { err("createAccount is error(注册账号错误)! err=" + KBEngineApp.app.serverErr(data.retcode)); return; } string sAccount = mAccountText.text; if (KBEngineApp.validEmail(sAccount)) { info("createAccount is successfully, Please activate your Email!(注册账号成功,请激活Email!)"); } else { info("createAccount is successfully!(注册账号成功!)"); } }
public void onCreateAccountResult(UInt16 retcode, byte[] datas) { log_label.obj.text = ""; log_label.obj.color = UnityEngine.Color.red; if (retcode != 0) { log_label.obj.text = "服务器返回注册错误:" + KBEngineApp.app.serverErr(retcode) + "!"; return; } log_label.obj.color = UnityEngine.Color.green; if (KBEngineApp.validEmail(username.input.text)) { log_label.obj.text = "注册成功, 请进入邮箱激活账号。"; } else { log_label.obj.text = "注册成功, 请点击登录按钮进入游戏!"; } back(); }