From f6d0c93c5b675ba2e970cc30cf450df62dc84f62 Mon Sep 17 00:00:00 2001 From: Hydrox6 Date: Tue, 26 May 2020 18:19:33 +0100 Subject: [PATCH] api: add support for setting login screen and fire rendering --- .../src/main/java/net/runelite/api/Client.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/runelite-api/src/main/java/net/runelite/api/Client.java b/runelite-api/src/main/java/net/runelite/api/Client.java index d58414f2d9..65008beef9 100644 --- a/runelite-api/src/main/java/net/runelite/api/Client.java +++ b/runelite-api/src/main/java/net/runelite/api/Client.java @@ -1746,4 +1746,16 @@ public interface Client extends GameEngine * Sets the starting index in the item id array for GE search */ void setGeSearchResultIndex(int index); + + /** + * Sets the image to be used for the login screen, provided as SpritePixels + * If the image is larger than half the width of fixed mode, + * it won't get mirrored to the other side of the screen + */ + void setLoginScreen(SpritePixels pixels); + + /** + * Sets whether the flames on the login screen should be rendered + */ + void setShouldRenderLoginScreenFire(boolean val); }