api: add bank search script id (#2397)

* ScriptID: Add BankSearch ID

* ScriptID: Add BankSearch ID
This commit is contained in:
Justin
2020-03-03 20:33:15 +11:00
committed by GitHub
parent a0dd0052a9
commit 290229a6b5

View File

@@ -227,5 +227,19 @@ public final class ScriptID
@ScriptArguments(string = 1)
public static final int CLAN_SEND_KICK = 215;
/**
* 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 getOnInvTransmit 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;
}