bank plugin: add ctrl+f hotkey to initiate bank search

Co-authored-by: melkypie <5113962+melkypie@users.noreply.github.com>
Co-authored-by: Adam <Adam@sigterm.info>
This commit is contained in:
trimbe
2019-10-27 16:09:25 -04:00
committed by Adam
parent 514995d140
commit 87f5e98a08
4 changed files with 101 additions and 0 deletions

View File

@@ -299,4 +299,18 @@ public final class ScriptID
@ScriptArguments()
public static final int BANKMAIN_SEARCHING = 514;
/**
* Toggles the bank search
*
* <ul>
* <li>int 1 (must be 1 or script immediately returns)</li>
* </ul>
*
* Also takes 17 widget IDs corresponding to various bank widgets.
* These can be retrieved from the onInvTransmitListener of BANK_ITEM_CONTAINER. Note that this array also
* contains the script ID for the bank layout script in the first index
*/
@ScriptArguments(integer = 18)
public static final int BANKMAIN_SEARCH_TOGGLE = 281;
}