runelite-client: Allow ChatboxInputManager to callback early

This commit is contained in:
Max Weber
2018-06-10 04:39:57 -06:00
parent ddc14df306
commit b269a75c45
2 changed files with 68 additions and 2 deletions

View File

@@ -26,6 +26,30 @@ package net.runelite.api;
public final class ScriptID
{
/**
* Sends a chat message
* <ul>
* <li> int (byte) Flags </li>
* <li> String Message to send </li>
* </ul>
*/
public static final int CHATBOX_INPUT = 96;
/**
* Closes the chatbox input
* <ul>
* <li> int (boolean) Clear the current text </li>
* <li> int (boolean) Unknown; set to 1 </li>
* </ul>
*/
public static final int CLOSE_CHATBOX_INPUT = 299;
/**
* Initializes the chatbox input to use RuneLite callbacks
* <ul>
* <li> String Prompt text </li>
* <li> String Default value </li>
* </ul>
*/
public static final int RUNELITE_CHATBOX_INPUT_INIT = 10001;
}