project(mixins): Server varps
This commit is contained in:
@@ -750,6 +750,29 @@ public abstract class RSClientMixin implements RSClient
|
||||
return childWidgets[childId];
|
||||
}
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public int getServerVarpValue(int varpId)
|
||||
{
|
||||
int[] varps = this.getServerVarps();
|
||||
return varps[varpId];
|
||||
}
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public int getServerVar(VarPlayer varPlayer)
|
||||
{
|
||||
int[] varps = getServerVarps();
|
||||
return varps[varPlayer.getId()];
|
||||
}
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public int getServerVarbitValue(int varbit)
|
||||
{
|
||||
return this.getVarbitValue(this.getServerVarps(), varbit);
|
||||
}
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public int getVar(VarPlayer varPlayer)
|
||||
|
||||
Reference in New Issue
Block a user