public void BtnChestClick(GameObject mObj) { int boxNum = (int)Enum.Parse(typeof(BoxNumber), mObj.name); // Debug.Log("wei-----------------BtnChestClick-----------" + boxNum); PanelStatic.StaticBtnGameManager.RunOpenLoading(() => InRoom.GetInRoomInstantiate().UseMoney(yuan.YuanPhoton.UseMoneyType.OpenChest, 0, 0, boxNum.ToString())); }
public void GetItems() { if (canStartEnter) { if (int.TryParse(BtnGameManager.yt[0]["Bloodstone"].YuanColumnText, out bloodStone) && bloodStone >= 5) { //GetItemIDs(); } // 请求翻牌 PanelStatic.StaticBtnGameManager.RunOpenLoading(() => InRoom.GetInRoomInstantiate().GambleCard(true)); /* * string[] tempItemIDs = new string[9]; * * for (int i = 0; i < tempItemIDs.Length; i++) * { * tempItemIDs[i] = listItemsInfo[i].itemID; * } * * // 请求翻牌 * PanelStatic.StaticBtnGameManager.RunOpenLoading(() => InRoom.GetInRoomInstantiate().GambleCard(tempItemIDs)); */ } }
/// <summary> /// 设置血石数量 /// </summary> private void SetBloodInfo() { lblNeedBloodRefresh.text = "..."; lblNeedBloodEnter.text = "..."; InRoom.GetInRoomInstantiate().GambleInfo(); }
// Use this for initialization void Start() { yServerSpan = new yuan.YuanTimeSpan(); timeBefor = Time.time; yServerSpan.TimeStart(InRoom.GetInRoomInstantiate().serverTime); InvokeRepeating("Analyse", 30, 30); }
private void DeleteMail() { if (yr != null && yr.RowItem.ContainsKey("id")) { if (!isSystemMail) { if (string.IsNullOrEmpty(yr["MailTool1"].YuanColumnText)) { InRoom.GetInRoomInstantiate().MailDelete(yr["id"].YuanColumnText); getMail.OpenMail(); } else if (!string.IsNullOrEmpty(yr["MailTool1"].YuanColumnText) && (int.Parse(yr["isGetTool1"].YuanColumnText) == 1)) { InRoom.GetInRoomInstantiate().MailDelete(yr["id"].YuanColumnText); getMail.OpenMail(); } else { warnings.warningAllEnter.Show(StaticLoc.Loc.Get("info358"), StaticLoc.Loc.Get("info990")); } } else { warnings.warningAllEnter.Show(StaticLoc.Loc.Get("info358"), StaticLoc.Loc.Get("info484")); } } }
public void GuildPlayerStopTalk() { if (yr != null && yr.ContainsKey("PlayerID") && BtnGameManager.yt.Rows[0]["GuildID"].YuanColumnText != "") { InRoom.GetInRoomInstantiate().GuildStopTalk(yr["PlayerID"].YuanColumnText, BtnGameManager.yt.Rows[0]["GuildID"].YuanColumnText); } }
public void SendGM() { string issueOption = ""; if (null != radioButtonGroup) { UIToggle[] checkboxes = radioButtonGroup.GetComponentsInChildren <UIToggle>(); foreach (UIToggle checkbox in checkboxes) { if (checkbox.isChecked) { //issueOption = checkbox.transform.GetComponentInChildren<UILabel>().text; issueOption = checkbox.gameObject.name.Replace("Checkbox_", ""); } } } else { Debug.LogWarning("ContactGM :: SendGM() - radioButtonGroup is null."); } if (null != mailContent && mailContent.text != "" && issueOption != "") { //InRoom.GetInRoomInstantiate().MailSend(issueOption, "", mailContent.text, "", "0", "0", "0", true, 0, 0); PanelStatic.StaticBtnGameManager.RunOpenLoading(() => InRoom.GetInRoomInstantiate().MailSend(issueOption, "", mailContent.text, "", "0", "0", "0", true)); //Debug.Log("Issue Option : " + issueOption + " , Mail Content :��" + mailContent.text); } else { warnings.warningAllEnter.Show(StaticLoc.Loc.Get("info358"), StaticLoc.Loc.Get("info488")); } }
/// <summary> /// 购买一个角色槽,可以多创建一个角色 /// </summary> public void BuyPlayerSlot(UIToggle toggle) { //Debug.Log(string.Format("===================={0},{1}", BtnGameManager.yt,BtnGameManager.yt[0]["userEmail"].YuanColumnText)); string userName = BtnManager.passID; string quDao = TableRead.strPageName; toggle.value = false; btnStartGame.SetActive(false); //StartCoroutine (BeginTimeOut(15,3,ConnectInRoom,() => InRoom.GetInRoomInstantiate().GetBuyLanWei(userName, quDao),null)); #if SDK_ZSYIOS // 正版iOS平台内购相关逻辑 int playerSlotCount = PlayerPrefs.GetInt("PlayerSlotCount", 2); if (playerSlotCount < 5) { StoreKitBinding.requestProductData("cszz.061"); StoreKitBinding.purchaseProduct("cszz.061", 1); } else { warnings.warningAllTime.Show("", StaticLoc.Loc.Get("info1013")); } #else //10月29号出封测包先注释掉 InRoom.GetInRoomInstantiate().GetBuyLanWei(userName, quDao); #endif }
/// <summary> /// н¨½ÇÉ« /// </summary> public void CreatPlayer() { //TD_info.setCreatRole(); if (InRoom.GetInRoomInstantiate() != null) { //string mName=randomName.GetNoString (txtCreatPlayerName.text.Trim()); string mName = txtCreatPlayerName.text.Trim(); if (GetStringMatch(mName, randomName.shieldedWord.myStr) == false) { if (mName != "") { string proID = GetOpenPlayerType(); if (passID != "" && proID != "") { //YuanUnityPhoton.GetYuanUnityPhotonInstantiate ().SetPlayerBehavior (yuan.YuanPhoton.ConsumptionType.GameSchedule,((int)GameScheduleType.CreatePlayer).ToString (),SystemInfo.deviceUniqueIdentifier); InRoom.GetInRoomInstantiate().SetSetPlayerBehavior(yuan.YuanPhoton.PlayerBehaviorType.GameSchedule, ((int)GameScheduleType.CreatePlayer).ToString()); //InRoom.GetInRoomInstantiate().PlayerCreat (passID, proID, txtCreatPlayerName.text.Trim(), "DarkSword2", "PlayerInfo",SystemInfo.deviceUniqueIdentifier); StartCoroutine(BeginTimeOut(10, 2, ConnectInRoom, () => InRoom.GetInRoomInstantiate().PlayerCreat(passID, proID, mName, "DarkSword2", "PlayerInfo", SystemInfo.deviceUniqueIdentifier), null)); } } else { lblCreatWarning.text = StaticLoc.Loc.Get(noNickName); } } else { lblCreatWarning.text = StaticLoc.Loc.Get(warningSensitive); } } }
IEnumerator Start() { // InvokeRepeating("SetPower", 1, 1); warnings = PanelStatic.StaticWarnings; //panel.SetActive(false); panelUI.enabled = false; timeHangUp = new System.TimeSpan(); if (InRoom.GetInRoomInstantiate().ServerConnected&&Application.loadedLevelName != "Map200") { BeginHangUp(); while (BtnGameManager.yt == null) { yield return(new WaitForSeconds(0.1f)); } if (BtnGameManager.yt[0]["HangUpTime"].YuanColumnText != "") { System.TimeSpan timeSpan = InRoom.GetInRoomInstantiate().serverTime - System.DateTime.Parse(BtnGameManager.yt[0]["HangUpTime"].YuanColumnText); if (isCanGet && timeSpan.TotalSeconds > 30) { isCanGet = false; //GetHangUp((int)timeSpan.TotalSeconds); } } } }
//material private void OnTriggerEnter(Collider other) { if (other.gameObject.name.StartsWith("B")) { InRoom.SetActive(true); } }
void StartHangUpTime() { try { if (InRoom.GetInRoomInstantiate().ServerConnected&&BtnGameManager.yt != null) { playerHangTime = BtnGameManager.yt.Rows[0]["HangUpMaxTime"].YuanColumnText == ""?0: int.Parse(BtnGameManager.yt.Rows[0]["HangUpMaxTime"].YuanColumnText); strPlayerMaxHangTime = YuanUnityPhoton.GetYuanUnityPhotonInstantiate().ytPlayerService.SelectRowEqual("VIPType", BtnGameManager.yt.Rows[0]["Serving"].YuanColumnText == "" ? "0" : BtnGameManager.yt.Rows[0]["Serving"].YuanColumnText)["HangUpMaxTime"].YuanColumnText; PlayerMaxHangTime = int.Parse(strPlayerMaxHangTime == ""?"0":strPlayerMaxHangTime) * 60; if (playerHangTime < PlayerMaxHangTime * 60) { numHangUp++; timeHangUp = System.TimeSpan.FromSeconds(numHangUp); lblTime.text = timeHangUp.ToString(); if (numHangUp % 60 == 0) { //exp += (int)(60 * (float)YuanUnityPhoton.GetYuanUnityPhotonInstantiate().dicBenefitsInfo[(byte)yuan.YuanPhoton.BenefitsType.HangUpExp]); exp += (int)(60 * (float)YuanUnityPhoton.dicBenefitsInfo[(byte)yuan.YuanPhoton.BenefitsType.HangUpExp]); //inv.SendMessage("AddExp", 60 * (float)YuanUnityPhoton.GetYuanUnityPhotonInstantiate().dicBenefitsInfo[(byte)yuan.YuanPhoton.BenefitsType.HangUpExp], SendMessageOptions.DontRequireReceiver); InRoom.GetInRoomInstantiate().HangUpAddExp(); BtnGameManager.yt.Rows[0]["HangUpMaxTime"].YuanColumnText = (int.Parse(BtnGameManager.yt.Rows[0]["HangUpMaxTime"].YuanColumnText == "" ? "0" : BtnGameManager.yt.Rows[0]["HangUpMaxTime"].YuanColumnText) + 1).ToString(); } } else { lblTime.text = StaticLoc.Loc.Get("info353"); } } } catch (System.Exception ex) { Debug.LogWarning(ex.ToString()); } }
public IEnumerator RefreshPVP4() { teamType = TeamType.PVP4; playerInfo.teamType = teamType; string mID = BtnGameManager.yt.Rows[0]["Corps4v4ID"].YuanColumnText; if (mID != "") { ytIDs.TableName = rowNameList + "IDs"; //InRoom.GetInRoomInstantiate().GetYuanTable(string.Format("select * from Corps where id='{0}'", mID), "DarkSword2", ytIDs); InRoom.GetInRoomInstantiate().GetTableForID(mID, yuan.YuanPhoton.TableType.Corps, ytIDs); while (ytIDs.IsUpdate) { yield return(new WaitForSeconds(0.1f)); } if (ytIDs != null && ytIDs.Rows.Count > 0) { lblNull.gameObject.active = false; //SetPlayerFun(); string[] tempPlayerID = ytIDs.Rows[0]["MemverID"].YuanColumnText.ToString().Trim().Split(';'); InRoom.GetInRoomInstantiate().GetPlayerList(tempPlayerID, ytPlayerList, "DarkSword2", "PlayerInfo"); } } else { lblNull.gameObject.active = true; InActiveChild(); //this.transform.parent.gameObject.SetActiveRecursively(false); } }
public IEnumerator RefreshGuild() { string mGuildID = BtnGameManager.yt.Rows[0]["GuildID"].YuanColumnText; if (mGuildID != "") { //Debug.Log ("------------------------------"+string.Format("select * from GuildInfo where id='{0}'", mGuildID)); ytIDs.TableName = rowNameList + "IDs"; //InRoom.GetInRoomInstantiate().GetYuanTable(string.Format("select * from GuildInfo where id='{0}'", mGuildID), "DarkSword2", ytIDs); InRoom.GetInRoomInstantiate().GetTableForID(mGuildID, yuan.YuanPhoton.TableType.GuildInfo, ytIDs); while (ytIDs.IsUpdate) { yield return(new WaitForSeconds(0.1f)); } if (ytIDs != null && ytIDs.Rows.Count > 0) { lblNull.gameObject.active = false; SetPlayerFun(); string[] tempPlayerID = ytIDs.Rows[0]["MemverID"].YuanColumnText.ToString().Trim().Split(';'); string[] rowName = new string[] { "PlayerID", "PlayerName", "ProID", "PlayerLevel", "Prestige", "VSRanking", "GuildID", "Place", "GuildPosition", "GuildName" }; InRoom.GetInRoomInstantiate().GetTablesSomeForIDs(tempPlayerID, rowName, yuan.YuanPhoton.TableType.PlayerInfo, ytPlayerList); // InRoom.GetInRoomInstantiate().GetPlayerList(tempPlayerID, ytPlayerList, "DarkSword2", "PlayerInfo"); } } else { lblNull.gameObject.active = true; InActiveChild(); //this.transform.parent.gameObject.SetActiveRecursively (false); } }
public IEnumerator GuildInviteAdd() { if (txtName.text.Trim() != "") { if (txtName.text.Trim() != BtnGameManager.yt.Rows[0]["PlayerID"].YuanColumnText.Trim() && BtnGameManager.yt.Rows[0]["GuildID"].YuanColumnText != "") { string[] tablename = new string[1]; tablename[0] = txtName.text.Trim(); string[] tablerow = new string[1]; tablerow[0] = "PlayerID"; // tablerow[1] = "PlayerName"; InRoom.GetInRoomInstantiate().GetTablesSomeForNames(tablename, tablerow, yuan.YuanPhoton.TableType.PlayerInfo, ytGuildPlayer); //GetTablesSomeForNames(string[] tableNames,string[] tableRows,TableType mTableType,YuanTable table) //InRoom.GetInRoomInstantiate ().GetPlayerForName(txtName.text.Trim(),ytGuildPlayer); while (ytGuildPlayer.IsUpdate) { yield return(new WaitForSeconds(0.1f)); } if (ytGuildPlayer != null && ytGuildPlayer.Rows.Count > 0) { InRoom.GetInRoomInstantiate().GuildInviteAdd(ytGuildPlayer.Rows[0]["PlayerID"].YuanColumnText, BtnGameManager.yt.Rows[0]["GuildID"].YuanColumnText); } else { warnings.warningAllEnter.Show(StaticLoc.Loc.Get("info359"), StaticLoc.Loc.Get("info411")); } } } else { warnings.warningAllEnter.Show(StaticLoc.Loc.Get("info359"), StaticLoc.Loc.Get("info520")); } }
/// <summary> /// 炼金 /// </summary> /// <param name="mNum">转化的血石数</param> public void MakeGold(int mNum) { PanelStatic.StaticBtnGameManager.RunOpenLoading(() => InRoom.GetInRoomInstantiate().UseMoney(yuan.YuanPhoton.UseMoneyType.MakeGold, 0, mNum, null)); // if (int.Parse(BtnGameManager.yt[0]["Bloodstone"].YuanColumnText) >= mNum) // { // // //invCL.SendMessage("YAddBlood", -mNum, SendMessageOptions.DontRequireReceiver); // //invCL.SendMessage("YAddGold", CanMakeGold(mNum), SendMessageOptions.DontRequireReceiver); // YuanBackInfo yuanBack=new YuanBackInfo("MakeGold"); // StartCoroutine( PanelStatic.StaticBtnGameManager.OpenLoading (()=>InRoom.GetInRoomInstantiate ().ClientMoney (CanMakeGold(mNum).To16String (),(-mNum).To16String (),yuanBack))); // // while(yuanBack.isUpate) // { // yield return new WaitForSeconds(0.1f); // } // switch(yuanBack.opereationResponse.ReturnCode) // { // case (short) yuan.YuanPhoton.ReturnCode.NoGold: // { // warnings.warningAllEnter.Show (StaticLoc.Loc.Get("info358"),StaticLoc.Loc.Get("info491")); // } // break; // case (short) yuan.YuanPhoton.ReturnCode.NoBloodStone: // { // warnings.warningAllEnter.Show (StaticLoc.Loc.Get("info358"),StaticLoc.Loc.Get("info490")); // } // break; // } // ShowGoldBlood(); // } // else // { // warnings.warningAllEnter.Show(StaticLoc.Loc.Get("info358"), StaticLoc.Loc.Get("info498")); // } }
public void GuildPlayerDown() { if (yr != null && yr.ContainsKey("PlayerID")) { InRoom.GetInRoomInstantiate().GuildPlayerPurview(yr["PlayerID"].YuanColumnText, false); } }
private void SetTime(System.DateTime dt) { //time = dt.TimeOfDay - System.DateTime.Now.TimeOfDay; time = dt.TimeOfDay - InRoom.GetInRoomInstantiate().serverTime.TimeOfDay; isStart = true; InvokeRepeating("GetTime", 1, 1); }
public void RequestBuyGoldMaterial() { PanelStatic.StaticWarnings.warningAllEnterClose.btnEnter.functionName = ""; PanelStatic.StaticWarnings.warningAllEnterClose.Close(); PanelStatic.StaticBtnGameManager.RunOpenLoading(() => InRoom.GetInRoomInstantiate().BuyGoldMaterial()); }
public IEnumerator BtnClick(yuan.YuanMemoryDB.YuanTable mYt, string[] mSql, params string[] mBtnName) { for (int i = 0; i < listPVP1.Count; i++) { listPVP1[i].gameObject.SetActiveRecursively(false); } listTabel.SetZore(); //InRoom.GetInRoomInstantiate().GetPlayerList(mSql,mYt,"DarkSword2","PlayerInfo"); InRoom.GetInRoomInstantiate().GetTablesSomeForIDs(mSql, strRows, yuan.YuanPhoton.TableType.PlayerInfo, mYt); while (mYt.IsUpdate) { yield return(new WaitForSeconds(0.1f)); } //try //{ // for (int i = 0; i < mYt.Rows.Count; i++) // { // //if(mYt.Rows) // if() // } //} //catch (System.Exception ex) //{ // Debug.LogWarning(ex.ToString()); //} listTabel.SetFrist(mYt, SetPVP1List, maxListNum); }
public void OnEnable() { InRoom.GetInRoomInstantiate().GetRankByMe(yuan.YuanPhoton.RankingType.Guild, BtnGameManager.yt.Rows[0]["GuildID"].YuanColumnText, "GuildRankingrank"); //InRoom.GetInRoomInstantiate().GetTableForID(BtnGameManager.yt.Rows[0]["GuildID"].YuanColumnText, yuan.YuanPhoton.TableType.PlayerInfo,BtnGameManager.yt); lblPoint.text = BtnGameManager.yt.Rows[0]["GuildContribution"].YuanColumnText; StartCoroutine(ReadInfo()); }
public void BtnPVP1() { if (yr != null && Application.loadedLevelName != "Map200") { if (Application.loadedLevelName.Substring(3, 1) == "1") { if (InRoom.GetInRoomInstantiate().GetServerSwitchString(yuan.YuanPhoton.BenefitsType.InvitePVP1Switch) != "1") { warnings.warningAllEnter.Show(StaticLoc.Loc.Get("info358"), StaticLoc.Loc.Get("info645")); return; } if (Time.time - timePVE >= 5) { timePVE = Time.time; InRoom.GetInRoomInstantiate().PVP1Invite(yr["PlayerID"].YuanColumnText); } else { warnings.warningAllEnter.Show(StaticLoc.Loc.Get("info358"), StaticLoc.Loc.Get("info506")); } } else { warnings.warningAllEnter.Show(StaticLoc.Loc.Get("info358"), StaticLoc.Loc.Get("info508")); } } }
void Awake() { rigid = GetComponent <Rigidbody>(); anim = GetComponent <Animator>(); inRm = GetComponent <InRoom>(); health = maxHealth; }
public void BtnRemoveClick() { if (yr != null && yr.ContainsKey("PlayerID") && yr["PlayerID"].YuanColumnText.Trim() != BtnGameManager.yt.Rows[0]["PlayerID"].YuanColumnText.Trim()) { switch (teamType) { case TeamType.PVP2: { InRoom.GetInRoomInstantiate().CorpRemove(BtnGameManager.yt.Rows[0]["Corps2v2ID"].YuanColumnText.Trim(), yr["PlayerID"].YuanColumnText); } break; case TeamType.PVP4: { InRoom.GetInRoomInstantiate().CorpRemove(BtnGameManager.yt.Rows[0]["Corps4v4ID"].YuanColumnText.Trim(), yr["PlayerID"].YuanColumnText); } break; case TeamType.Legion: { InRoom.GetInRoomInstantiate().LegionRemove(yr["PlayerID"].YuanColumnText); } break; case TeamType.Team: { InRoom.GetInRoomInstantiate().TeamRemove(yr["PlayerID"].YuanColumnText); } break; } } }
public void SendMail(object sender, object parm) { if (isGMMail) { SendGM(); } else { if ((InRoom.isUpdatePlayerLevel?InRoom.playerLevel.Parse(0): BtnGameManager.yt.Rows[0]["PlayerLevel"].YuanColumnText.Parse(0)) > 0) { if (InRoom.GetInRoomInstantiate().GetServerSwitchString(yuan.YuanPhoton.BenefitsType.MailSwitch) == "1") { if (!mailInfoWirte.cbxIsPaymentPickup.isChecked) { //warnings.warningAllEnterClose.btnEnter.target = this.gameObject; //warnings.warningAllEnterClose.btnEnter.functionName = "Send"; warnings.warningAllEnterClose.btnEnterEvent.BtnClickEvent += this.Send; warnings.warningAllEnterClose.Show(StaticLoc.Loc.Get("info358"), StaticLoc.Loc.Get("info487")); } else { Send(this, null); } } else { warnings.warningAllEnter.Show(StaticLoc.Loc.Get("info358"), StaticLoc.Loc.Get("info645")); } } else { warnings.warningAllEnter.Show(StaticLoc.Loc.Get("info358"), StaticLoc.Loc.Get("tips054")); } } }
public void PlayerUp() { warnings.warningAllEnterClose.Close(); if (yr != null && yr.ContainsKey("PlayerID") && yr["PlayerID"].YuanColumnText.Trim() != BtnGameManager.yt.Rows[0]["PlayerID"].YuanColumnText.Trim()) { switch (teamType) { case TeamType.PVP2: { InRoom.GetInRoomInstantiate().PVPPlayerUp(yr["PlayerID"].YuanColumnText.Trim(), yuan.YuanPhoton.CorpType.PVP2); } break; case TeamType.PVP4: { InRoom.GetInRoomInstantiate().PVPPlayerUp(yr["PlayerID"].YuanColumnText.Trim(), yuan.YuanPhoton.CorpType.PVP4); } break; case TeamType.Legion: { InRoom.GetInRoomInstantiate().LegionPlayerUp(yr["PlayerID"].YuanColumnText); } break; case TeamType.Team: { InRoom.GetInRoomInstantiate().TeamPlayerUp(yr["PlayerID"].YuanColumnText); } break; } } }
/// <summary> /// 教程任务调用 /// </summary> public void BtnEnterTask() { int index = 0; if (!btnEnter.Disable && canStartEnter && listGetItems.Count > 0) { canStartEnter = false; if (listGetItems.Count > 1) { while (numRandom == numTemp) { numRandom = random.Next(0, listGetItems.Count); } targetItem = listGetItems[numRandom]; index = listBox.IndexOf(targetItem); } else { targetItem = listGetItems[0]; index = listBox.IndexOf(targetItem); } numRandom = random.Next(0, listGetItems.Count); listGetItems[numRandom].picSelect.gameObject.active = true; selectItem = listGetItems[numRandom]; numTemp = numRandom; //PanelStatic.StaticBtnGameManager.RunOpenLoading(() => InRoom.GetInRoomInstantiate().GambleLottery(targetItem.itemID, index, false)); PanelStatic.StaticBtnGameManager.RunOpenLoading(() => InRoom.GetInRoomInstantiate().GambleLottery(false)); } }
public void GuildTeamInv() { if (yr != null && yr.ContainsKey("PlayerID") && yr["PlayerID"].YuanColumnText.Trim() != BtnGameManager.yt.Rows[0]["PlayerID"].YuanColumnText.Trim()) { InRoom.GetInRoomInstantiate().TeamInviteAdd(yr["PlayerID"].YuanColumnText); } }
public void productPurchased(string returnValue) { // split up into useful data string[] receiptParts = returnValue.Split(new string[] { "|||" }, StringSplitOptions.RemoveEmptyEntries); if (receiptParts.Length != 3) { if (purchaseFailed != null) { purchaseFailed("Could not parse receipt information: " + returnValue); } return; } string productIdentifier = receiptParts[0]; string receipt = receiptParts[1]; int quantity = int.Parse(receiptParts[2]); PlayerPrefs.SetString("productPurchased", PlayerPrefs.GetString("productPurchased", "") + ";," + receipt); InRoom.GetInRoomInstantiate().VerifyToServer(PlayerPrefs.GetString("NumTitleS1", "Empty") + "," + receipt + "," + PlayerPrefs.GetString("GameUserID", "")); // Send(productIdentifier, receipt); repeatTimes = 3; if (purchaseSuccessful != null) { purchaseSuccessful(productIdentifier, receipt, quantity); } }
void LuckeytwoGold() { if (show) { PanelStatic.StaticBtnGameManager.RunOpenLoading(() => InRoom.GetInRoomInstantiate().JockPotLottery(2, 0)); } }