Exemplo 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);
    }
Exemplo 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);
    }
Exemplo 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);
	}
Exemplo 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);
	}