示例#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));
    }