Esempio n. 1
0
    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);
    }
Esempio n. 2
0
    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);
    }
Esempio n. 3
0
	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);
	}
Esempio n. 4
0
	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);
	}