Change api for dev tools var inspector
This commit is contained in:
@@ -407,6 +407,11 @@ public interface Client extends GameShell
|
||||
*/
|
||||
IndexDataBase getIndexScripts();
|
||||
|
||||
/**
|
||||
* Gets the config archive, containing Varplayer and Varbit definitions
|
||||
*/
|
||||
IndexDataBase getConfigArchive();
|
||||
|
||||
/**
|
||||
* Gets the config index.
|
||||
*/
|
||||
@@ -774,16 +779,6 @@ public interface Client extends GameShell
|
||||
*/
|
||||
void setVarbit(Varbits varbit, int value);
|
||||
|
||||
/**
|
||||
* Gets the varbit composition for a given varbit id
|
||||
*
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@VisibleForDevtools
|
||||
@Nullable
|
||||
VarbitComposition getVarbit(int id);
|
||||
|
||||
/**
|
||||
* Gets the value of a given variable.
|
||||
*
|
||||
@@ -825,9 +820,10 @@ public interface Client extends GameShell
|
||||
void setVarbitValue(int[] varps, int varbit, int value);
|
||||
|
||||
/**
|
||||
* @return the total number of VarbitDefinition
|
||||
* Gets the varbit composition for a given varbit id
|
||||
*/
|
||||
int getVarbitCount();
|
||||
@Nullable
|
||||
VarbitDefinition getVarbitDefinition(int id);
|
||||
|
||||
/**
|
||||
* Gets the widget flags table.
|
||||
|
||||
@@ -11,9 +11,7 @@ public interface IndexDataBase
|
||||
boolean isOverlayOutdated();
|
||||
|
||||
/**
|
||||
* Get the child file ids for a given archive
|
||||
* @param archiveId
|
||||
* @return
|
||||
* Get the child file ids for a given group
|
||||
*/
|
||||
int[] getFileIds(int archiveId);
|
||||
int[] getFileIds(int group);
|
||||
}
|
||||
|
||||
@@ -24,26 +24,20 @@
|
||||
*/
|
||||
package net.runelite.api;
|
||||
|
||||
public interface VarbitComposition
|
||||
public interface VarbitDefinition
|
||||
{
|
||||
/**
|
||||
* The varp index for this varbit
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
int getIndex();
|
||||
|
||||
/**
|
||||
* The least significant bit of the varbit
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
int getLeastSignificantBit();
|
||||
|
||||
/**
|
||||
* The most significant bit of the varbit (inclusive)
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
int getMostSignificantBit();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user