1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Summoning API additions

Discussion in 'Client & Site Suggestions' started by Infinite Inferno, Apr 18, 2015.

  1. Infinite Inferno

    Infinite Inferno The Pip Collector

    Joined:
    Sep 14, 2014
    Messages:
    445
    Likes Received:
    122
    So i see that we have a getInventorySize() for familiars, but i would like to request for a few more methods in addition to that to make it easier for what i am doing with familiars in my gilded altar bot

    - Summoning.Familiar.getInventory().getQuanity(final String item)
    - Summoning.Familiar.getInventory().getItem(final String item)

    These additions would be the most beneficial for me, if they are possible to be found/added to the API

    @Cloud @Arbiter
     
    Geashaw likes this.
  2. dog_

    Joined:
    Nov 3, 2013
    Messages:
    277
    Likes Received:
    95
    not sure if i misunderstood your suggestion but is that not the same as BeastOfBurden#getItems(filter)? Use a Filter which checks for name and call QueryResults#size() to get the quantity
     
    Cloud likes this.
  3. Infinite Inferno

    Infinite Inferno The Pip Collector

    Joined:
    Sep 14, 2014
    Messages:
    445
    Likes Received:
    122
    I actually did not see that in the API while i went through it,but that should work for me. I have expected to see that in the Summoning API. Thanks :)
     
    dog_ likes this.

Share This Page

Loading...