void Connect() { GameJsonConnection conn = new GameJsonConnection(Flow.URL_BASE + "mines/getsingle.php", OnGetSingle); WWWForm form = new WWWForm(); form.AddField("date", Flow.lastUpdate.ToString()); conn.connect(form); }
public void RefreshShop(bool refreshPrime = true) { //Debug.Log("RefreshShop"); GameJsonConnection conn = new GameJsonConnection(Flow.URL_BASE + "login/shop/refresh.php", OnRefreshShop); WWWForm form = new WWWForm(); form.AddField("app_id", Info.appId.ToString()); form.AddField("type", Info.appType.ToString()); conn.connect(form, refreshPrime); }
public void RefreshShop(bool refreshPrime=true) { //Debug.Log("RefreshShop"); GameJsonConnection conn = new GameJsonConnection(Flow.URL_BASE + "login/shop/refresh.php", OnRefreshShop); WWWForm form = new WWWForm(); form.AddField("app_id", Info.appId.ToString()); form.AddField("type", Info.appType.ToString()); conn.connect(form,refreshPrime); }