runelite-client: add methods for externals (plugin-hub) (#2286)
* Merge pull request #/10524 from Trevor159/get-var Add getVar methods for external plugins * Add the mixins * fix dumb yaml error recommend https://yaml-online-parser.appspot.com/ Co-authored-by: Adam <adam@sigterm.info>
This commit is contained in:
@@ -591,6 +591,13 @@ public abstract class RSClientMixin implements RSClient
|
||||
return varps[varpId];
|
||||
}
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public int getVarpValue(int varpId)
|
||||
{
|
||||
return getVarpValue(getVarps(), varpId);
|
||||
}
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public void setVarpValue(int[] varps, int varpId, int value)
|
||||
|
||||
Reference in New Issue
Block a user