Use raw varp array for get/set value in devtools
It was decided the current indirection isn't necessary
This commit is contained in:
@@ -773,28 +773,6 @@ 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