Rename AbstractIndexCache to be more accurate
This commit is contained in:
@@ -3,8 +3,8 @@ package net.runelite.rs.api;
|
||||
import net.runelite.api.IndexDataBase;
|
||||
import net.runelite.mapping.Import;
|
||||
|
||||
public interface RSAbstractIndexCache extends IndexDataBase
|
||||
public interface RSAbstractArchive extends IndexDataBase
|
||||
{
|
||||
@Import("takeRecord")
|
||||
@Import("takeFile")
|
||||
byte[] getConfigData(int archiveId, int fileId);
|
||||
}
|
||||
@@ -2,7 +2,7 @@ package net.runelite.rs.api;
|
||||
|
||||
import net.runelite.mapping.Import;
|
||||
|
||||
public interface RSIndexCache extends RSAbstractIndexCache
|
||||
public interface RSArchive extends RSAbstractArchive
|
||||
{
|
||||
@Import("index")
|
||||
int getIndex();
|
||||
@@ -443,11 +443,11 @@ public interface RSClient extends RSGameShell, Client
|
||||
|
||||
@Import("indexCache8")
|
||||
@Override
|
||||
RSAbstractIndexCache getIndexSprites();
|
||||
RSAbstractArchive getIndexSprites();
|
||||
|
||||
@Import("indexCache12")
|
||||
@Override
|
||||
RSAbstractIndexCache getIndexScripts();
|
||||
RSAbstractArchive getIndexScripts();
|
||||
|
||||
@Import("widgetClickMasks")
|
||||
@Override
|
||||
@@ -1015,7 +1015,7 @@ public interface RSClient extends RSGameShell, Client
|
||||
boolean isSpellSelected();
|
||||
|
||||
@Import("readSoundEffect")
|
||||
RSSoundEffect getTrack(RSAbstractIndexCache indexData, int id, int var0);
|
||||
RSSoundEffect getTrack(RSAbstractArchive indexData, int id, int var0);
|
||||
|
||||
@Import("createRawPcmStream")
|
||||
RSRawPcmStream createRawPcmStream(RSRawSound audioNode, int var0, int volume);
|
||||
@@ -1024,7 +1024,7 @@ public interface RSClient extends RSGameShell, Client
|
||||
RSPcmStreamMixer getSoundEffectAudioQueue();
|
||||
|
||||
@Import("indexCache4")
|
||||
RSAbstractIndexCache getIndexCache4();
|
||||
RSAbstractArchive getIndexCache4();
|
||||
|
||||
@Import("decimator")
|
||||
RSDecimator getSoundEffectResampler();
|
||||
|
||||
Reference in New Issue
Block a user