runelite-mixins: add hd minimap toggle

This commit is contained in:
Dennis
2018-07-24 23:37:53 +02:00
committed by Lucwousin
parent 4915fd627b
commit 7f362afe63
2 changed files with 21 additions and 0 deletions

View File

@@ -1665,6 +1665,10 @@ public interface Client extends GameShell
*/
void setInventoryDragDelay(int delay);
boolean isHdMinimapEnabled();
void setHdMinimapEnabled(boolean enabled);
/**
* Gets a set of current world types that apply to the logged in world.
*

View File

@@ -283,6 +283,9 @@ public abstract class RSClientMixin implements RSClient
{
}
@Inject
private static boolean hdMinimapEnabled;
@Inject
@Override
public Callbacks getCallbacks()
@@ -374,6 +377,20 @@ public abstract class RSClientMixin implements RSClient
inventoryDragDelay = delay;
}
@Inject
@Override
public boolean isHdMinimapEnabled()
{
return hdMinimapEnabled;
}
@Inject
@Override
public void setHdMinimapEnabled(boolean enabled)
{
hdMinimapEnabled = enabled;
}
@Inject
@Override
public AccountType getAccountType()