Add getVarpValue and setVarpValue to RSClientMixin and Client
This commit is contained in:
@@ -659,6 +659,28 @@ public interface Client extends GameEngine
|
||||
@VisibleForDevtools
|
||||
int getVarbitValue(int[] varps, int varbitId);
|
||||
|
||||
/**
|
||||
* Gets the value of a given VarPlayer.
|
||||
*
|
||||
* @param varps passed varps
|
||||
* @param varpId the VarpPlayer id
|
||||
* @return the value
|
||||
* @see VarPlayer#id
|
||||
*/
|
||||
@VisibleForDevtools
|
||||
int getVarpValue(int[] varps, int varpId);
|
||||
|
||||
/**
|
||||
* Sets the value of a given VarPlayer.
|
||||
*
|
||||
* @param varps passed varps
|
||||
* @param varpId the VarpPlayer id
|
||||
* @param value the value
|
||||
* @see VarPlayer#id
|
||||
*/
|
||||
@VisibleForDevtools
|
||||
void setVarpValue(int[] varps, int varpId, int value);
|
||||
|
||||
/**
|
||||
* Sets the value of a given variable.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user