Exemplo n.º 1
0
    public void Upgrade(string strUpgradeType)
    {
        JSONObject    jsonUser      = null;
        HTTPClient    client        = null;
        UserSingleton userSingleton = null;

        client        = HTTPClient.GetInstance();
        jsonUser      = new JSONObject();
        userSingleton = UserSingleton.GetInstance();

        jsonUser.Add("UserID", userSingleton.m_nUserID);
        jsonUser.Add("UpgradeType", strUpgradeType);

        Debug.Log("jsonUser : "******"/Upgrade/Execute", jsonUser.ToString(), UpgradeDelegate);
    }