void onLoginFailed(string msg) { Debug.Log("onLoginFailed: " + msg); //UIMgr.Instance.HidePanel(EUIPanelID.Panel_EnterGame); //UIMgr.Instance.ShowPanel(EUIPanelID.Panel_EnterGame, true, false, () => //{ // EnterGameCtrl.Instance.ShowTips(LocalizeUtils.GetLocalizedStr(UIStringDefine.id220503134)); //}); // //ChannelMgr.Login(); if (ChannelMgr.m_OnLoginCallBack != null) { ChannelMgr.m_OnLoginCallBack(msg); } }
void onLoginSuccess(string msg) { //Z_LoginInfo.getInstance().Account_crc = msg; //Const.IsLoginToGoGame = true; //LZ_GameManager.getInstance().Account_SetEvent(Const.ET_SDKLogin); Debug.Log("onLoginSuccess: " + msg); //Debug.Log("Platform.GetInstance().GetChannel: " + Platform.GetInstance().Plat_GetChannel()); //Debug.Log("Platform.GetInstance().GetOrderID: " + Platform.GetInstance().Plat_GetOrderID()); //Debug.Log("Platform.GetInstance().GetPlatformOrderID: " + Platform.GetInstance().Plat_GetPlatformOrderID()); //Debug.Log("Platform.GetInstance().GetSessionID: " + Platform.GetInstance().Plat_GetSessionID()); //Debug.Log("Platform.GetInstance().GetUid: " + Platform.GetInstance().Plat_GetUid()); //Debug.Log("Platform.GetInstance().GetUserName: " + Platform.GetInstance().Plat_GetUserName()); //GameConfig.Username = Platform.GetInstance().Plat_GetUid(); //UIMgr.Instance.HidePanel(EUIPanelID.Panel_EnterGame); //UIMgr.Instance.ShowPanel(EUIPanelID.Panel_EnterGame, true, true); if (ChannelMgr.m_OnLoginCallBack != null) { ChannelMgr.m_OnLoginCallBack(msg); } }