Add getVarpValue and setVarpValue to RSClientMixin and Client

This commit is contained in:
Adam
2018-07-09 08:54:50 -04:00
parent d8b2e743ac
commit 2aa08231a2
2 changed files with 36 additions and 0 deletions

View File

@@ -385,6 +385,20 @@ public abstract class RSClientMixin implements RSClient
return varps[varPlayer.getId()];
}
@Inject
@Override
public int getVarpValue(int[] varps, int varpId)
{
return varps[varpId];
}
@Inject
@Override
public void setVarpValue(int[] varps, int varpId, int value)
{
varps[varpId] = value;
}
@Inject
@Override
public boolean isPrayerActive(Prayer prayer)