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

Resource An Alternate Query API

Discussion in 'Tutorials & Resources' started by Ian C, Aug 12, 2014.

  1. Ian C

    Joined:
    Jul 6, 2014
    Messages:
    24
    Likes Received:
    16
    Query API
    The Query API is my interpretation of a proper query system. You have a Inquirer which queries a Database. A SelfInquirer is an Inquirer with it's own Database to query. Inquirer, grabs the List type from the Database upon querying. To support method chaining, I introduced Results, a subclass of List, that a Database can utilize.

    Source: https://github.com/IITC/Java/tree/master/src/iitc/im/query

    I have provided you guys with the Runemate implementation of my Query system.

    You can use the static Inquirer classes, Npcs/GameObjects/GroundItems/etc.. or the Entites class with is a complete Database container with getters for all the individual Database.

    I'm working on fully documenting the Runemate implementation, but it should be done within a day or so.

    Source: https://github.com/IITC/Query/tree/master/src/iitc/runemate/util/game

    If you'd like to see anything appended onto this tutorial, feel free to comment. Thanks guys.

    Ian C.​
     
    SlashnHax and Arbiter like this.
  2. Neospacian

    Joined:
    Jul 17, 2014
    Messages:
    108
    Likes Received:
    8
    I have no idea what this means.... but I like it ;) Good work? xD :D
     
  3. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Renamed thread ;)
     
  4. Ian C

    Joined:
    Jul 6, 2014
    Messages:
    24
    Likes Received:
    16
    Loool. :p
     

Share This Page

Loading...