Added RL API to get client pixels
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
@@ -963,6 +963,7 @@ public interface RSClient extends RSGameEngine, Client
|
||||
boolean getViewportContainsMouse();
|
||||
|
||||
@Import("Rasterizer2D_pixels")
|
||||
@Override
|
||||
int[] getGraphicsPixels();
|
||||
|
||||
@Import("Rasterizer2D_width")
|
||||
|
||||
Reference in New Issue
Block a user