public void RemoveItemStacks(List <Guid> StacksToRemove, Action <string> callback) { RemoveMultipleItems infos = new RemoveMultipleItems(); infos.stacks = StacksToRemove; string stacksInfo = JsonConvert.SerializeObject(infos); string url = string.Format("{0}RemoveStackItems?stacks={1}", cloudGoodsURL, stacksInfo); WWW www = new WWW(url); StartCoroutine(ServiceGetString(www, callback)); }
public void RemoveItemStacks(List<Guid> StacksToRemove, Action<string> callback) { RemoveMultipleItems infos = new RemoveMultipleItems(); infos.stacks = StacksToRemove; string stacksInfo = JsonConvert.SerializeObject(infos); string url = string.Format("{0}RemoveStackItems?stacks={1}", cloudGoodsURL, stacksInfo); WWW www = new WWW(url); StartCoroutine(ServiceGetString(www, callback)); }