runelite-client: add tick counter

This commit is contained in:
Adam
2018-05-07 09:31:16 -04:00
parent 5fde24cecb
commit ccef1dddd0
3 changed files with 22 additions and 0 deletions

View File

@@ -105,6 +105,9 @@ public abstract class RSClientMixin implements RSClient
@Shadow("clientInstance")
private static RSClient client;
@Inject
private static int tickCount;
@Inject
private static boolean interpolatePlayerAnimations;
@@ -883,4 +886,16 @@ public abstract class RSClientMixin implements RSClient
{
eventBus.post(new UsernameChanged());
}
@Override
public int getTickCount()
{
return tickCount;
}
@Override
public void setTickCount(int tick)
{
tickCount = tick;
}
}