Added RL API to get Frames

This commit is contained in:
Noodleeater
2021-02-20 17:03:18 +00:00
parent 7f6738de19
commit 56b379d65a
2 changed files with 6 additions and 0 deletions

View File

@@ -2104,6 +2104,11 @@ public interface Client extends GameEngine
List<String> getOutdatedScripts(); List<String> getOutdatedScripts();
/**
* Gets a Frames object. File Ids for animations frames are grouped together into a Frames object. getFrames will get the group of frames that the frameId belongs to.
*/
Frames getFrames(int frameId);
/** /**
* various archives you might want to use for reading data from cache * various archives you might want to use for reading data from cache
*/ */

View File

@@ -774,6 +774,7 @@ public interface RSClient extends RSGameEngine, Client
void setAnimOffsetZ(int animOffsetZ); void setAnimOffsetZ(int animOffsetZ);
@Import("getFrames") @Import("getFrames")
@Override
RSFrames getFrames(int frameId); RSFrames getFrames(int frameId);
@Import("sceneMinimapSprite") @Import("sceneMinimapSprite")