//------------------------------------------------------------------------- void _onUCenterConvert(UCenterResponseStatus status, AccountConvertResponse response, UCenterError error) { //UiHelper.DestroyWaiting(); if (status == UCenterResponseStatus.Success) { //FloatMsgInfo f_info; //f_info.msg = "游客帐号转正成功"; //f_info.color = Color.green; //UiMgr.Instance.FloatMsgMgr.createFloatMsg(f_info); CoApp.CoNetMonitor.AccId = response.AccountId; CoApp.CoNetMonitor.Acc = response.AccountName; _clearGuest(); _requestLogin(response.AccountName, mPassword); } else if (error != null) { if (error.ErrorCode == UCenterErrorCode.AccountRegisterFailedAlreadyExist) { //FloatMsgInfo f_info; //f_info.msg = "游客帐号转正失败,帐号已存在"; //f_info.color = Color.red; //UiMgr.Instance.FloatMsgMgr.createFloatMsg(f_info); } else { //FloatMsgInfo f_info; //f_info.msg = "游客帐号转正失败"; //f_info.color = Color.red; //UiMgr.Instance.FloatMsgMgr.createFloatMsg(f_info); } } }
//------------------------------------------------------------------------- void _onUCenterConvert(UCenterResponseStatus status, AccountConvertResponse response, UCenterError error) { EbLog.Note("ClientSampleApp._onUCenterConvert() UCenterResult=" + status); if (error != null) { EbLog.Note("ErrorCode=" + error.ErrorCode); EbLog.Note("ErrorMessage=" + error.Message); } //else //{ // EbLog.Note("AccountId=" + response.AccountId); // EbLog.Note("AccountName=" + response.AccountName); //} }