Change api for dev tools var inspector
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user