Ejemplo n.º 1
0
    public void GiveOwnerItems(WebModels.OwnerTypes OwnerType, List <WebModels.ItemsInfo> listOfItems, Action <string> callback)
    {
        string jsonList = JsonConvert.SerializeObject(listOfItems);

        string url = string.Format("{0}GiveOwnerItems?AppID={1}&OwnerID={2}&OwnerType={3}&listOfItems={4}", cloudGoodsURL, ItemSystemGameData.AppID, ItemSystemGameData.UserID.ToString(), OwnerType.ToString(), jsonList);
        WWW    www = new WWW(url);

        StartCoroutine(ServiceGetString(www, callback));
    }
 public void GiveOwnerItems(string ownerID, WebModels.OwnerTypes OwnerType, List <WebModels.ItemsInfo> listOfItems, Action <string> callback)
 {
 }