Merge pull request #4667 from deathbeam/move-index-to-db
Move isOverlayOutdated to IndexDatabase
This commit is contained in:
@@ -327,6 +327,13 @@ public interface Client extends GameEngine
|
||||
*/
|
||||
IndexDataBase getIndexSprites();
|
||||
|
||||
/**
|
||||
* Gets the script index database.
|
||||
*
|
||||
* @return the script database
|
||||
*/
|
||||
IndexDataBase getIndexScripts();
|
||||
|
||||
/**
|
||||
* Returns the x-axis base coordinate.
|
||||
* <p>
|
||||
|
||||
@@ -29,4 +29,8 @@ package net.runelite.api;
|
||||
*/
|
||||
public interface IndexDataBase
|
||||
{
|
||||
/**
|
||||
* Returns true if any cache overlay in this index is outdated due to hash mismatch
|
||||
*/
|
||||
boolean isOverlayOutdated();
|
||||
}
|
||||
|
||||
@@ -28,7 +28,6 @@ import java.awt.Graphics;
|
||||
import java.awt.event.KeyEvent;
|
||||
import java.awt.event.MouseEvent;
|
||||
import java.awt.event.MouseWheelEvent;
|
||||
import net.runelite.api.IndexDataBase;
|
||||
import net.runelite.api.MainBufferProvider;
|
||||
|
||||
/**
|
||||
@@ -164,12 +163,4 @@ public interface Callbacks
|
||||
* @param keyEvent the key event
|
||||
*/
|
||||
void keyTyped(KeyEvent keyEvent);
|
||||
|
||||
/**
|
||||
* Called whenever a cache overlay fails to load due to a hash mismatch
|
||||
* @param indexDataBase
|
||||
* @param archiveId
|
||||
* @param fileId
|
||||
*/
|
||||
void overlayLoadFailed(IndexDataBase indexDataBase, int archiveId, int fileId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user