Rename AbstractIndexCache to be more accurate

This commit is contained in:
Lucas
2019-07-07 06:24:17 +02:00
parent bb8dc5b8e4
commit eeeafb93b7
118 changed files with 594 additions and 591 deletions

View File

@@ -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);
}

View File

@@ -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();

View File

@@ -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();