Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!
RuneMate will permanently shut down on August 7, 2026
due to events outside our control. You can continue using RuneMate until this date after which it will no longer be available. Thank you to everyone that contributed to RuneMate's success and to the community for the opportunity to serve you all these years.

  • Learn about RuneMate Vault and how its zero knowledge local encryption already protects your sensitive information.
  • Edit or delete your RuneMate account from your Account Settings.
  • All account upgrade subscriptions have been cancelled. No action required.

Resource An Alternate Query API

Joined
Jul 6, 2014
Messages
24
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.​
 
Top