Change api for dev tools var inspector

This commit is contained in:
Adam
2020-06-29 10:27:51 -04:00
committed by Lucwousin
parent e508d2f883
commit 74dd4e71e8
7 changed files with 59 additions and 51 deletions

View File

@@ -8,6 +8,7 @@ public interface RSAbstractArchive extends IndexDataBase
@Import("takeFile")
byte[] getConfigData(int archiveId, int fileId);
@Import("getGroupFileCount")
int getGroupFileCount(int group);
@Import("getGroupFileIds")
@Override
int[] getFileIds(int group);
}

View File

@@ -458,6 +458,7 @@ public interface RSClient extends RSGameShell, Client
void setIndexedSpritePalette(int[] indexedSpritePalette);
@Import("archive2")
@Override
RSArchive getConfigArchive();
@Import("archive6")
@@ -1275,4 +1276,10 @@ public interface RSClient extends RSGameShell, Client
@Import("rightTitleSprite")
void setRightTitleSprite(Sprite background);
@Construct
RSBuffer newBuffer(byte[] bytes);
@Construct
RSVarbitDefinition newVarbitDefinition();
}

View File

@@ -1,8 +1,9 @@
package net.runelite.rs.api;
import net.runelite.api.VarbitDefinition;
import net.runelite.mapping.Import;
public interface RSVarbitDefinition extends RSDualNode
public interface RSVarbitDefinition extends VarbitDefinition, RSDualNode
{
@Import("baseVar")
int getIndex();
@@ -12,4 +13,7 @@ public interface RSVarbitDefinition extends RSDualNode
@Import("endBit")
int getMostSignificantBit();
@Import("decode")
void decode(RSBuffer buffer);
}