diaryreqs: Update scrollbar with new length

This interface was ported to a different widget (in #5346), but that interface has a dynamic length, controlled by cs2 2523, which is called by the server when the interface is filled. Simply call the cs2 again after the next one has ran with our new linecount.
This commit is contained in:
Max Weber
2018-09-07 03:55:30 -06:00
parent 8b3a4440ff
commit 44c32ff641
2 changed files with 24 additions and 1 deletions

View File

@@ -54,6 +54,15 @@ public final class ScriptID
*/
public static final int CLOSE_CHATBOX_INPUT = 299;
/**
* Updates the Diary/Quest interface's scrollbar
* <ul>
* <li> int (boolean) Reset scroll position </li>
* <li> int Number of lines </li>
* </ul>
*/
public static final int DIARY_QUEST_UPDATE_LINECOUNT = 2523;
/**
* Initializes the chatbox input to use RuneLite callbacks
* <ul>