public void PurchaseOther() { //TODO: invoke gash webviwe Debug.Log("PurchaseController PurchaseOther"); appId = _appId; appkey = _appKey; appsecret = _appsecret; userId = Obj_MyselfPlayer.GetMe().uid; groupId = Obj_MyselfPlayer.GetMe().areaId.ToString(); version = ClientConfigure.VersionNumber.ToString(); Debug.Log("APPID:" + appId); Debug.Log("appkey:" + appkey); Debug.Log("appsecret:" + appsecret); Debug.Log("userId:" + userId); Debug.Log("groupId:" + groupId); Debug.Log("version:" + version); KDTLWebView.ShowWebView(ClientConfigure.getOtherPurchaseUrl() + "?userId=" + userId + "&groupId=" + groupId + "&appId=" + appId + "&appkey=" + appkey + "&appsecret=" + appsecret + "&version=" + version , PurchaseOver); }
public void OnCard() { PlayerPrefsX.StatisticsIncrease("Btn" + ((int)StatisticsEnum.Btn56).ToString()); KDTLWebView.ShowWebView(DeviceHelper.GetNoticeUrl(), KDTLWebView.webViewMode.NOTICE); //王明磊 : 统计模块代码 -> Statistics //BoxManager.showMessage("功能暂未开放"); //BoxManager.showMessageByID((int)MessageIdEnum.Msg18); }
void OnEnable() { //KDTLWebView.Instance.SetWebView(); #if UNITY_IPHONE KDTLWebView.ShowWebView(raiderurl, KDTLWebView.webViewMode.RAIDER); gameObject.SetActive(false); #elif UNITY_ANDROID KDTLWebView.ShowWebView(raiderurl, KDTLWebView.webViewMode.RAIDER); gameObject.SetActive(false); #endif }
public void GotoFacebookUrl(bool success) { if (success) { Debug.Log("GotoFacebookUrl Net success"); } else { Debug.Log("GotoFacebookUrl Net error"); } KDTLWebView.ShowWebView(ClientConfigure.getFacebookUrl()); }
public void OnRaider() { //王明磊 : 统计模块代码 -> Statistics PlayerPrefsX.StatisticsIncrease("Btn" + ((int)StatisticsEnum.Btn55).ToString()); #if UNITY_IPHONE KDTLWebView.ShowWebView(raidrul, KDTLWebView.webViewMode.RAIDER); #elif UNITY_ANDROID KDTLWebView.ShowWebView(raidrul, KDTLWebView.webViewMode.RAIDER); #else mainUILogic.SendMessage("OnRaider"); #endif }
public void RequestFacebookUrl(GameObject obj) { //test //GotoFacebookUrl(true); if (!PlayerPrefs.HasKey(Obj_MyselfPlayer.GetMe().accountID.ToString() + "_huodong_facebookLove")) { PlayerPrefs.SetInt(Obj_MyselfPlayer.GetMe().accountID.ToString() + "_huodong_facebookLove", 1); PlayerPrefs.Save(); NetworkSender.Instance().RequestTaskOver(GotoFacebookUrl, 1); } else { KDTLWebView.ShowWebView(ClientConfigure.getFacebookUrl()); } }
IEnumerator showNotice() { yield return(new WaitForSeconds(1f)); KDTLWebView.ShowWebView(DeviceHelper.GetNoticeUrl(), KDTLWebView.webViewMode.NOTICE); }
public void OnForgetPassowrdBtn() { Debug.Log("OnForgetPassowrdBtn(), " + AccountManager.forgetPasswordURL); KDTLWebView.ShowWebView(AccountManager.forgetPasswordURL); }
public void OnFeedBackClick() { KDTLWebView.ShowWebView(ClientConfigure.getFacebookUrl()); }
// public void setUserName(string name) // { // Debug.Log("setUserName:"+name); // userNameInput.text = name; // } #if UNITY_ANDROID void OnRegisterOther() { KDTLWebView.ShowWebView(AccountManager.registerOther); }
public void OnRegisterOtherBtn() { KDTLWebView.ShowWebView("http://member.changyou.com/webphoregist/phone_regist.html?gametype=undefined&order=spe"); }
public void OnAgreementBtn() { Debug.Log("OnAgreementBtn(), " + AccountManager.userAgreementURL); KDTLWebView.ShowWebView(AccountManager.userAgreementURL); }