PrayAgainstPlayer: Add config option for Highlight
PrayAgainstPlayer: Add config option for Highlight
This commit is contained in:
@@ -27,6 +27,7 @@ package net.runelite.client.plugins.prayagainstplayer;
|
|||||||
import net.runelite.client.config.Config;
|
import net.runelite.client.config.Config;
|
||||||
import net.runelite.client.config.ConfigGroup;
|
import net.runelite.client.config.ConfigGroup;
|
||||||
import net.runelite.client.config.ConfigItem;
|
import net.runelite.client.config.ConfigItem;
|
||||||
|
import net.runelite.client.config.Range;
|
||||||
|
|
||||||
@ConfigGroup("prayagainstplayer")
|
@ConfigGroup("prayagainstplayer")
|
||||||
public interface PrayAgainstPlayerConfig extends Config
|
public interface PrayAgainstPlayerConfig extends Config
|
||||||
@@ -63,4 +64,32 @@ public interface PrayAgainstPlayerConfig extends Config
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
position = 4,
|
||||||
|
keyName = "highlightAttackers",
|
||||||
|
name = "Highlight Attackers",
|
||||||
|
description = "This will highlight attackers."
|
||||||
|
)
|
||||||
|
default boolean highlightAttackers()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Range(
|
||||||
|
min = 1,
|
||||||
|
max = 10
|
||||||
|
)
|
||||||
|
@ConfigItem(
|
||||||
|
position = 5,
|
||||||
|
keyName = "highlightWidth",
|
||||||
|
name = "Highlight Width",
|
||||||
|
description = "This will set the highlight attackers outline width.",
|
||||||
|
hidden = true,
|
||||||
|
unhide = "highlightAttackers"
|
||||||
|
)
|
||||||
|
default int highlightWidth()
|
||||||
|
{
|
||||||
|
return 4;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user