Skip to content

Commit

Permalink
chatbox: use ge item search for ChatboxItemSearch
Browse files Browse the repository at this point in the history
  • Loading branch information
raiyni committed Oct 9, 2024
1 parent 6060404 commit 1b6011a
Show file tree
Hide file tree
Showing 3 changed files with 136 additions and 249 deletions.
23 changes: 23 additions & 0 deletions runelite-api/src/main/java/net/runelite/api/ScriptID.java
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,29 @@ public final class ScriptID
@ScriptArguments(integer = 3)
public static final int GE_ITEM_SEARCH = 752;

/**
* Opens the grand exchange item search widget
* <ul>
* <li> string Search title </li>
* <li> int (boolean) False searches deadman restricted items </li>
* <li> int (EnumID) Item enum to search </li>
* <li> int (boolean) Display last searched text </li>
* </ul>
*/
@ScriptArguments(integer = 3, string = 1)
public static final int GE_OPEN_ITEM_SEARCH = 750;

/**
* Selects the item from the grand exchange item search
*
* <ul>
* <li> int (ItemID) Item selected </li>
* <li> int must be 84 or the script returns </li>
* </ul>
*/
@ScriptArguments(integer = 2)
public static final int GE_ITEM_SEARCH_SELECTED = 754;

/**
* On load listener for building the quest list interface
*/
Expand Down
Loading

0 comments on commit 1b6011a

Please sign in to comment.