rl-api: expose cache getters

This commit is contained in:
Max Weber
2022-01-18 16:30:06 -07:00
parent 6555643e11
commit f1fb26eb3d
2 changed files with 7 additions and 0 deletions

View File

@@ -420,6 +420,11 @@ public interface Client extends GameEngine
*/
IndexDataBase getIndexConfig();
/**
* Gets an index by id
*/
IndexDataBase getIndex(int id);
/**
* Returns the x-axis base coordinate.
* <p>

View File

@@ -40,4 +40,6 @@ public interface IndexDataBase
* @return
*/
int[] getFileIds(int archiveId);
byte[] loadData(int archiveID, int fileID);
}