Added RL API to get client pixels

This commit is contained in:
Noodleeater
2021-02-20 17:09:26 +00:00
parent 56b379d65a
commit b0c853379c
2 changed files with 6 additions and 0 deletions

View File

@@ -1863,6 +1863,11 @@ public interface Client extends GameEngine
*/
void draw2010Menu(int alpha);
/**
* Get client pixels. each int represents and ARGB colored pixel.
*/
int[] getGraphicsPixels();
/**
* Draws a menu in the OSRS interface style.
*

View File

@@ -963,6 +963,7 @@ public interface RSClient extends RSGameEngine, Client
boolean getViewportContainsMouse();
@Import("Rasterizer2D_pixels")
@Override
int[] getGraphicsPixels();
@Import("Rasterizer2D_width")