private static void OnUserLoginEvent(UserLogin2Client e, object[] args) { activationCode = ""; if (e.code == 0) { isLogin = true; GameDataMonitor.PushData("User", e.user, "玩家数据"); SDKManager.UserID = e.user.userID; } if (OnUserLogin != null) { OnUserLogin(e); } if (e.reloginState) { return; } isClickLogin = false; if (e.code != 0) { Debug.LogError("Login error code:" + e.code); return; } ResendMessageManager.startResend = true; loginMsg.typeKey = e.user.typeKey; SDKManager.LogLogin(e.user.userID); }
private static void OnUserLogin(UserLogin2Client t) { if (t.reloginState) { return; } SendDeviceInfo(t.user.userID); }
private static void OnUserLogin(UserLogin2Client t) { if (t.code != 0) { return; } user = t.user; LoadRecord(); }
private static void OnUserLogin(UserLogin2Client t) { //第一次登陆,非重连 if (!t.reloginState) { SDKManager.ExtraInit(SDKType.Pay, null, JsonUtils.ToJson(productDefinitions)); Debug.Log("支付SDK初始化"); } }
private void OnLoginEvent(UserLogin2Client t) { Debug.LogError("RealNameManager OnLoginEvent" + t.code + t.reloginState); if (t.code != 0 || t.reloginState) { return; } SDKManager.RealNameLogin(t.user.userID); TestRealNameStatus(); }
private static void OnUserLoginEvent(UserLogin2Client e, object[] args) { if (OnUserLogin != null) { OnUserLogin(e); } if (e.reloginState) { return; } ResendMessageManager.startResend = true; loginMsg.typeKey = e.typeKey; }
private static void OnUserLogin(UserLogin2Client t) { //第一次登陆,非重连 if (!t.reloginState) { SDKManager.ExtraInit(SDKType.Pay, null, JsonUtils.ToJson(productDefinitions)); //Debug.Log("支付SDK初始化"); //for (int i = 0; i < productDefinitions.Count; i++) //{ // Debug.Log("ID " + productDefinitions[i].goodsID + " ->" + productDefinitions[i].localizedPrice); //} //Debug.Log("small ->" + SDKManager.GetGoodsInfo("small").localizedPrice + " json " + JsonUtils.ToJson(productDefinitions)); } }
private static void OnUserLoginEvent(UserLogin2Client e, object[] args) { activationCode = ""; if (e.code == 0) { isLogin = true; GameDataMonitor.PushData("User", e.user, "玩家数据"); GameInfoCollecter.AddPlayerInfoValue("IsLogin", IsLogin); GameInfoCollecter.AddPlayerInfoValue("UserID", e.user.userID); GameInfoCollecter.AddPlayerInfoValue("LoginType", e.user.loginType); GameInfoCollecter.AddPlayerInfoValue("NickName", e.user.nickName); GameInfoCollecter.AddPlayerInfoValue("TypeKey", e.user.typeKey); GameInfoCollecter.AddPlayerInfoValue("PlayTime", e.user.playTime); GameInfoCollecter.AddPlayerInfoValue("TotalLoginDays", e.user.totalLoginDays); SDKManager.UserID = e.user.userID; } if (OnUserLogin != null) { OnUserLogin(e); } if (e.reloginState) { return; } isClickLogin = false; if (e.code != 0) { Debug.LogError("Login error code:" + e.code); return; } ResendMessageManager.startResend = true; loginMsg.typeKey = e.user.typeKey; SDKManager.LogLogin(e.user.userID); }
private static void OnUserLogin(UserLogin2Client t) { RequsetAreadyBindPlatform(); }
private static void UserLogin(UserLogin2Client t) { PayReSend.Instance.ReSendPay(); }