public void ShareCode() { int entryFee = PlayerPrefs.GetInt(LudoTags.ENTRY_FEE); string tableCode = TableCode.text; string s = "Join me on BetLudo table '" + tableCode + "' of Rs." + entryFee + ". Download Link 'http://betludo.com/game/ludo.apk'."; GameConstantData.shareText(s); }
public void ShareAction() { ///string msg = "Enter this code to earn mony " + PlayerPrefs.GetString (GetPlayerDetailsTags.REFREL_CODE); /// /// Sumit Kumar invited you to play Ludo Money. Please enter referral code 0975345and get free 50 Rs worth of coins. Please download the game from: string msg = PlayerPrefs.GetString(GetPlayerDetailsTags.PLAYER_NAME) + " invited you to play Dreamz Club Ludo. Please enter referral code " + PlayerPrefs.GetString(GetPlayerDetailsTags.REFREL_CODE) + " and get free " + PlayerPrefs.GetString(Tags.REFERRAL_COIN_FOR_OLD_PLAYER) + " Rs worth of coins. Please download the game from: " + PlayerPrefs.GetString(Tags.APP_DOWNLOAD_URL); GameConstantData.shareText(msg); }
public void PeopleAction() { string msg = PlayerPrefs.GetString(GetPlayerDetailsTags.PLAYER_NAME) + " is invite you to play Dreamz Club Ludo. Please download the game from: " + PlayerPrefs.GetString(Tags.APP_DOWNLOAD_URL); GameConstantData.shareText(msg); /* * * for (int i = 0; i < container.transform.childCount; i++) { * Destroy (container.transform.GetChild (i).gameObject); * } * * peoplepanel.SetActive (true); * WWWForm form = new WWWForm (); * form.AddField ("TAG", "ALLUSER"); * form.AddField ("id", PlayerPrefs.GetString (GetPlayerDetailsTags.PLAYER_ID)); * WWW w = new WWW (Tags.URL, form); * StartCoroutine (ServerRequest (w)); * loading.SetActive (true);*/ // if (PlayerPrefs.GetString (GetPlayerDetailsTags.PLAYER_FBID).Length != 0) { // peoplepanel.SetActive (true); // peoplepanel.GetComponent<InviteFacebookFriends> ().ShowPanel (); // if (GameConstantData.MyFriendsList.Count > 0) { // NoFriendFound.SetActive (false); // } // foreach (FacebookFrndDetails frndList in GameConstantData.MyFriendsList) { // string name = frndList.name; // string fbID = frndList.fbID; // string fbImage = frndList.imageUrl; // //print (" Name " + name + " fb id " + fbID + " fb image " + fbImage); // // GameObject newCell = Instantiate (cell); // newCell.transform.SetParent (container.transform); // newCell.transform.localScale = new Vector3 (1, 1, 1); // newCell.GetComponent<FacebookFriendCell> ().UpdateCell (fbID, name, fbImage, false); // // } // } else { // // ("Please login with facebook? to share friend"); // // } }