// This will be used for broadcasts. One sheet will only have one column, broadcasts. This will pull it. public static void GetAllPlayers(bool runtime) { Debug.Log("<color=yellow>Retrieving all players from the Cloud.</color>"); // Get all objects from table 'PlayerInfo'. CloudConnectorCore.GetTable(tableName, runtime); }
public IEnumerator LoadWineQuantities() { CloudConnectorCore.GetTable(TABLE_NAME); wineQuantitiesFromWebhost = new List <int>(); wineQuantitiesFromHeroku = new List <int>(); for (int i = 0; i < 17; i++) { WWW www = new WWW(WEBHOST_URL + "getWineQuantity.php?id=" + i.ToString()); while (!www.isDone) { yield return(0); } wineQuantitiesFromWebhost.Add(int.Parse(www.text)); // Inserir chamada pro getWineQuantity do node por aqui @Heitor WWW wwnode = new WWW(HEROKU_URL + "getWineQuantity?id=" + i.ToString()); while (!wwnode.isDone) { yield return(0); } wineQuantitiesFromHeroku.Add(int.Parse(Regex.Match(wwnode.text, @"\d+").Value)); } }
public static void Version_Load() { CloudConnectorCore.GetTable("Version", true); }
public static void DoImport() { CloudConnectorCore.processedResponseCallback.AddListener(Data_Received); CloudConnectorCore.GetTable("Scripts", false); }
public static void GetVersion() { Debug.Log("<color=yellow>Retrieving Data Version from the Cloud.</color>"); CloudConnectorCore.GetTable("Version", true); }
public static void getAbilityData() { CloudConnectorCore.GetTable(ABILITIES, true); finished3 = true; }
public static void getEnemyData() { CloudConnectorCore.GetTable(ENEMIES, true); finished1 = true; }
public static void getTowerData() { CloudConnectorCore.GetTable(TOWERS, true); finished2 = true; }