예제 #1
0
    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));
    }
예제 #2
0
    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));
    }