Disable zoom extender when a cache overlay fails to load

The zoom extender relies on multiple scripts to be up to date. If only one is changed, its functionality breaks badly.
This commit is contained in:
Adam
2018-08-02 18:52:06 -04:00
parent 1b2eb7eeaf
commit ca7ca3a7a0
5 changed files with 37 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ 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;
/**
@@ -163,4 +164,12 @@ 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);
}